소스 검색

Properly update world matrix prior to use

WestLangley 5 년 전
부모
커밋
5448fe3fc5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/cameras/Camera.js

+ 1 - 1
src/cameras/Camera.js

@@ -43,7 +43,7 @@ Camera.prototype = Object.assign( Object.create( Object3D.prototype ), {
 
 		}
 
-		this.updateMatrixWorld( true );
+		this.updateWorldMatrix( true, false );
 
 		const e = this.matrixWorld.elements;