Commit a90e10d7 authored by 吕祺's avatar 吕祺 ⛹🏽

update pic and threejs

parent 0fa88afc
...@@ -86,7 +86,7 @@ function getWindowWidth() { ...@@ -86,7 +86,7 @@ function getWindowWidth() {
function getWindowHeight() { function getWindowHeight() {
if(isMobile) { if(isMobile) {
return window.innerHeight * 0.8 return window.innerHeight * 0.88
} else { } else {
return window.innerHeight * 0.68 return window.innerHeight * 0.68
} }
...@@ -193,7 +193,6 @@ function init(en) { ...@@ -193,7 +193,6 @@ function init(en) {
controls.maxPolarAngle = controls.minPolarAngle controls.maxPolarAngle = controls.minPolarAngle
controls.enableZoom = false controls.enableZoom = false
controls.mouseButtons = { ORBIT: THREE.MOUSE.LEFT }
controls.enableKeys = false controls.enableKeys = false
controls.rotateSpeed = 0.5 controls.rotateSpeed = 0.5
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment