2
0
Эх сурвалжийг харах

Properly update world matrix prior to use

WestLangley 5 жил өмнө
parent
commit
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;