|
@@ -14,12 +14,6 @@
|
|
|
// Orbit - left mouse / touch: one finger move
|
|
|
// Zoom - middle mouse, or mousewheel / touch: two finger spread or squish
|
|
|
// Pan - right mouse, or arrow keys / touch: three finter swipe
|
|
|
-//
|
|
|
-// This is a drop-in replacement for (most) TrackballControls used in examples.
|
|
|
-// That is, include this js file and wherever you see:
|
|
|
-// controls = new THREE.OrbitControls( camera );
|
|
|
-// controls.target.z = 150;
|
|
|
-// Simple substitute "OrbitControls" and the control should work as-is.
|
|
|
|
|
|
THREE.OrbitControls = function ( object, domElement ) {
|
|
|
|