|
@@ -19,8 +19,6 @@ THREE.OrthographicTrackballControls = function ( object, domElement ) {
|
|
|
|
|
|
this.screen = { left: 0, top: 0, width: 0, height: 0 };
|
|
|
|
|
|
- this.radius = 0;
|
|
|
-
|
|
|
this.rotateSpeed = 1.0;
|
|
|
this.zoomSpeed = 1.2;
|
|
|
|
|
@@ -36,6 +34,8 @@ THREE.OrthographicTrackballControls = function ( object, domElement ) {
|
|
|
|
|
|
// internals
|
|
|
|
|
|
+ this.radius = 0;
|
|
|
+
|
|
|
this.target = new THREE.Vector3();
|
|
|
|
|
|
var EPS = 0.000001;
|