Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion manual/examples/game-conga-line-w-notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@
camera.position.set(0, 40, 80);

const controls = new OrbitControls(camera, canvas);
controls.enableKeys = false;
controls.target.set(0, 5, 0);
controls.update();

Expand Down
1 change: 0 additions & 1 deletion manual/examples/game-conga-line.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@
camera.position.set(0, 40, 80);

const controls = new OrbitControls(camera, canvas);
controls.enableKeys = false;
controls.target.set(0, 5, 0);
controls.update();

Expand Down
1 change: 0 additions & 1 deletion manual/examples/game-just-player.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@
camera.position.set(0, 40, 80);

const controls = new OrbitControls(camera, canvas);
controls.enableKeys = false;
controls.target.set(0, 5, 0);
controls.update();

Expand Down
1 change: 0 additions & 1 deletion manual/examples/game-player-input.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@
camera.position.set(0, 40, 80);

const controls = new OrbitControls(camera, canvas);
controls.enableKeys = false;
controls.target.set(0, 5, 0);
controls.update();

Expand Down
3 changes: 1 addition & 2 deletions manual/resources/threejs-lesson-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ export const threejsLessonUtils = {
controls.rotateSpeed = 1 / 6;
controls.enableZoom = false;
controls.enablePan = false;
controls.enableKeys = false;
elem.removeAttribute('tabIndex');
//resizeFunctions.push(controls.handleResize.bind(controls));
updateFunctions.push(controls.update.bind(controls));
Expand Down Expand Up @@ -272,4 +271,4 @@ export const threejsLessonUtils = {
},
};

window.threejsLessonUtils = threejsLessonUtils;
window.threejsLessonUtils = threejsLessonUtils;
1 change: 0 additions & 1 deletion manual/resources/threejs-lights.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ import {threejsLessonUtils} from './threejs-lesson-utils.js';
const controls = new OrbitControls(camera, elem);
controls.enableDamping = true;
controls.enablePanning = false;
controls.enableKeys = false;
scene.background = new THREE.Color('black');
{
const mesh = new THREE.Mesh(cubeGeo, cubeMat);
Expand Down