Browse Source

Small change

customisations
alemart 11 months ago
parent
commit
288606ed34
2 changed files with 1 additions and 1 deletions
  1. BIN
      demos/assets/magic-circle.png
  2. 1
    1
      demos/hello-three/demo.js

BIN
demos/assets/magic-circle.png View File


+ 1
- 1
demos/hello-three/demo.js View File

218
 
218
 
219
         // animate the magic circle
219
         // animate the magic circle
220
         const magicCircle = this._objects.magicCircle;
220
         const magicCircle = this._objects.magicCircle;
221
-        magicCircle.rotateZ(TWO_PI * ROTATIONS_PER_SECOND * delta);
221
+        magicCircle.rotateZ(-TWO_PI * ROTATIONS_PER_SECOND * delta);
222
     }
222
     }
223
 }
223
 }
224
 
224
 

Loading…
Cancel
Save