소스 검색

Update DragControls.js

Leven 6 년 전
부모
커밋
01686f092b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 ));
 
 			}