mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-18 01:16:20 +10:00
* WebGLRenderer: update camera and object matrices if autoUpdateMatrix == true
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
@@ -161,6 +161,8 @@ THREE.WebGLRenderer = function () {
|
||||
|
||||
}
|
||||
|
||||
camera.autoUpdateMatrix && camera.updateMatrix();
|
||||
object.autoUpdateMatrix && object.updateMatrix();
|
||||
|
||||
viewMatrix.multiply( camera.matrix, object.matrix );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user