Browse Source

Update DragControls.js

Leven 6 years ago
parent
commit
01686f092b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/js/controls/DragControls.js

+ 1 - 1
examples/js/controls/DragControls.js

@@ -129,7 +129,7 @@ THREE.DragControls = function ( _objects, _camera, _domElement ) {
 
 			if ( _raycaster.ray.intersectPlane( _plane, _intersection ) ) {
 
-				_offset.copy( _intersection ).sub(_selected.getWorldPosition( _worldPosition ));
+				_offset.copy( _intersection ).sub( _selected.getWorldPosition( _worldPosition ));
 
 			}