소스 검색

TransformControls: Fix eye vector computation. (#24583)

Michael Herzog 2 년 전
부모
커밋
2e3927428f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      examples/jsm/controls/TransformControls.js

+ 1 - 1
examples/jsm/controls/TransformControls.js

@@ -207,7 +207,7 @@ class TransformControls extends Object3D {
 
 		if ( this.camera.isOrthographicCamera ) {
 
-			this.camera.getWorldDirection( this.eye );
+			this.camera.getWorldDirection( this.eye ).negate();
 
 		} else {