From 5f64668afe720f7a22e7e238975361640194a947 Mon Sep 17 00:00:00 2001 From: huayifeng Date: Tue, 27 Jul 2021 11:49:29 +0800 Subject: [PATCH] fix: rotate --- assets/obj4/README.md | 4 +++- index-draco.html | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/assets/obj4/README.md b/assets/obj4/README.md index a188987..695d853 100644 --- a/assets/obj4/README.md +++ b/assets/obj4/README.md @@ -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 diff --git a/index-draco.html b/index-draco.html index 4b574d6..6543e78 100644 --- a/index-draco.html +++ b/index-draco.html @@ -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(); -- GitLab