orbitControls limits
This commit is contained in:
parent
61888fb279
commit
fea8f20a9b
2
app.js
2
app.js
@ -830,6 +830,8 @@ controls.maxDistance = 21
|
||||
controls.keys = {}
|
||||
controls.minPolarAngle = 0.9
|
||||
controls.maxPolarAngle = 2.14
|
||||
controls.minAzimuthAngle = 0.9 - Math.PI/2
|
||||
controls.maxAzimuthAngle = 2.14 - Math.PI/2
|
||||
controls.target = P(5, 9)
|
||||
controls.update()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user