Skip to content

Commit a9cf263

Browse files
committed
Remove HorizontalPanning nomenclature
1 parent 40d832d commit a9cf263

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

examples/misc_controls_orbit.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
controls.enableDamping = true; // an animation loop is required when either damping or auto-rotation are enabled
7777
controls.dampingFactor = 0.25;
7878

79-
controls.panningMode = THREE.HorizontalPanning; // default is THREE.ScreenSpacePanning
79+
controls.screenSpacePanning = false;
8080

8181
controls.minDistance = 100;
8282
controls.maxDistance = 500

examples/webgl_shaders_ocean.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@
168168
controls = new THREE.OrbitControls( camera, renderer.domElement );
169169
controls.maxPolarAngle = Math.PI * 0.495;
170170
controls.target.set( 0, 10, 0 );
171-
controls.panningMode = THREE.HorizontalPanning;
172171
controls.minDistance = 40.0;
173172
controls.maxDistance = 200.0;
174173
camera.lookAt( controls.target );

0 commit comments

Comments
 (0)