提交 5f64668a 编写于 作者: H huayifeng

fix: rotate

上级 5ad4f3da
......@@ -4,4 +4,6 @@ obj 压缩到 gltf
gltf 普通压缩到 er4.glb
gltf draco 压缩到 er4-1.glb
\ No newline at end of file
gltf draco 压缩到 er4-1.glb
(由于 github 限制,没办法上传 obj 至 git, 后续打包的百度云)
\ No newline at end of file
......@@ -100,8 +100,8 @@
controls.maxDistance = 10;
controls.target.set(0, 0, 0); // 旋转中心点
controls.minPolarAngle = 0.3 // 设置最小旋转角度
controls.maxPolarAngle = Math.PI / 2 - Math.PI / 10
// controls.minPolarAngle = 0.3 // 设置最小旋转角度
// controls.maxPolarAngle = Math.PI / 2 - Math.PI / 10
controls.update();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册