Skip to content

Commit c0e5d4d

Browse files
committed
Update lens-distortion.ts
1 parent b6b7a78 commit c0e5d4d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

manual/assets/js/src/demos/lens-distortion.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,7 @@ window.addEventListener("load", () => void load().then((assets) => {
6363
// Camera & Controls
6464

6565
const camera = new PerspectiveCamera();
66-
const controls = new SpatialControls(
67-
camera.position,
68-
camera.quaternion,
69-
renderer.domElement
70-
);
66+
const controls = new SpatialControls(camera.position, camera.quaternion, renderer.domElement);
7167
const settings = controls.settings;
7268
settings.rotation.sensitivity = 2.2;
7369
settings.rotation.damping = 0.05;

0 commit comments

Comments
 (0)