Browse Source

Simplified OrbitControls header. See 6f7299cd8f5d19ca0b0df8a7cedac2ef2be1382c.

Mr.doob 10 years ago
parent
commit
ae8f7595bd
1 changed files with 0 additions and 6 deletions
  1. 0 6
      examples/js/controls/OrbitControls.js

+ 0 - 6
examples/js/controls/OrbitControls.js

@@ -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 ) {