Skip to content

Commit

Permalink
add .
Browse files Browse the repository at this point in the history
  • Loading branch information
taojinjin committed Sep 3, 2020
1 parent 1cc3b1d commit 4624eb8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@ how to run:

npm install

npm start
npm start

the white bar is the rotate axis, click on the sphere to relocated the rotate axis.

change the angle to see the effect
2 changes: 0 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ async function start() {
document.body.appendChild(reactContainer);

regl.frame(() => {
// canvas.width = window.innerWidth;
// canvas.height = window.innerHeight;
state.camera.updateCamera();
renderFrame({
quaternion: [state.quaternion.x, state.quaternion.y, state.quaternion.z, state.quaternion.w],
Expand Down

0 comments on commit 4624eb8

Please sign in to comment.