Skip to content

Commit f2558fb

Browse files
authored
fix: adjusted fly speed multiplier (#337)
1 parent fee3d97 commit f2558fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/viewer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ class Viewer {
815815

816816
// calculate scene size
817817
const sceneSize = bbox.halfExtents.length();
818-
this.cameraControls.moveSpeed = Math.max(0.05, Math.min(1, sceneSize * 0.0001)) * 200;
818+
this.cameraControls.moveSpeed = sceneSize * 2.5;
819819
this.cameraControls.zoomRange = new Vec2(ZOOM_SCALE_MIN, 10 * sceneSize);
820820

821821
// calculate the camera focal point

0 commit comments

Comments
 (0)