浏览代码

Small change

customisations
alemart 11 个月前
父节点
当前提交
288606ed34
共有 2 个文件被更改,包括 1 次插入1 次删除
  1. 二进制
      demos/assets/magic-circle.png
  2. 1
    1
      demos/hello-three/demo.js

二进制
demos/assets/magic-circle.png 查看文件


+ 1
- 1
demos/hello-three/demo.js 查看文件

@@ -218,7 +218,7 @@ class DemoScene extends ARScene
218 218
 
219 219
         // animate the magic circle
220 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
 

正在加载...
取消
保存