mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: min/max zoom distances
This commit is contained in:
1 parent
b03589f6f0
commit
e094267223
1 file changed
+2
@@ -149,6 +149,8 @@ export function Controls() {
|
||||
|
||||
return (
|
||||
<OrbitControls
|
||||
maxDistance={20}
|
||||
minDistance={5}
|
||||
ref={orbitControls}
|
||||
enabled={useTankopediaPersistent.getState().model.visual.controlsEnabled}
|
||||
rotateSpeed={0.25}
|
||||
|
||||
Reference in new issue
Block a user