* WebGLRenderer: update camera and object matrices if autoUpdateMatrix == true

This commit is contained in:
Mr.doob
2010-10-23 16:57:10 +02:00
parent 836f1b878f
commit 369a8661dc
3 changed files with 4 additions and 2 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+2
View File
@@ -161,6 +161,8 @@ THREE.WebGLRenderer = function () {
}
camera.autoUpdateMatrix && camera.updateMatrix();
object.autoUpdateMatrix && object.updateMatrix();
viewMatrix.multiply( camera.matrix, object.matrix );