Skip to content

Commit 34d9259

Browse files
author
r00ster
authored
Remove outdated enableKeys config (#23472)
1 parent fe29dfe commit 34d9259

File tree

6 files changed

+0
-6
lines changed

6 files changed

+0
-6
lines changed

manual/examples/game-conga-line-w-notes.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@
180180
camera.position.set(0, 40, 80);
181181

182182
const controls = new OrbitControls(camera, canvas);
183-
controls.enableKeys = false;
184183
controls.target.set(0, 5, 0);
185184
controls.update();
186185

manual/examples/game-conga-line.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@
180180
camera.position.set(0, 40, 80);
181181

182182
const controls = new OrbitControls(camera, canvas);
183-
controls.enableKeys = false;
184183
controls.target.set(0, 5, 0);
185184
controls.update();
186185

manual/examples/game-just-player.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@
110110
camera.position.set(0, 40, 80);
111111

112112
const controls = new OrbitControls(camera, canvas);
113-
controls.enableKeys = false;
114113
controls.target.set(0, 5, 0);
115114
controls.update();
116115

manual/examples/game-player-input.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@
150150
camera.position.set(0, 40, 80);
151151

152152
const controls = new OrbitControls(camera, canvas);
153-
controls.enableKeys = false;
154153
controls.target.set(0, 5, 0);
155154
controls.update();
156155

manual/resources/threejs-lesson-utils.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ export const threejsLessonUtils = {
197197
controls.rotateSpeed = 1 / 6;
198198
controls.enableZoom = false;
199199
controls.enablePan = false;
200-
controls.enableKeys = false;
201200
elem.removeAttribute('tabIndex');
202201
//resizeFunctions.push(controls.handleResize.bind(controls));
203202
updateFunctions.push(controls.update.bind(controls));

manual/resources/threejs-lights.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ import {threejsLessonUtils} from './threejs-lesson-utils.js';
4242
const controls = new OrbitControls(camera, elem);
4343
controls.enableDamping = true;
4444
controls.enablePanning = false;
45-
controls.enableKeys = false;
4645
scene.background = new THREE.Color('black');
4746
{
4847
const mesh = new THREE.Mesh(cubeGeo, cubeMat);

0 commit comments

Comments
 (0)