Lines Matching refs:object
24 THREE.OrbitControls = function ( object, domElement ) { argument
26 this.object = object;
109 this.position0 = this.object.position.clone();
144 var te = this.object.matrix.elements;
157 var te = this.object.matrix.elements;
173 if ( scope.object.fov !== undefined ) {
176 var position = scope.object.position;
181 targetDistance *= Math.tan( ( scope.object.fov / 2 ) * Math.PI / 180.0 );
187 } else if ( scope.object.top !== undefined ) {
190 scope.panLeft( deltaX * (scope.object.right - scope.object.left) / element.clientWidth );
191 scope.panUp( deltaY * (scope.object.top - scope.object.bottom) / element.clientHeight );
228 var position = this.object.position;
269 this.object.lookAt( this.target );
276 if ( lastPosition.distanceTo( this.object.position ) > 0 ) {
280 lastPosition.copy( this.object.position );