Browse Source

initialize world matrix to identity instead of zero

Trevor Baron 7 years ago
parent
commit
d894bd1abc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/babylon.node.ts

+ 1 - 1
src/babylon.node.ts

@@ -106,7 +106,7 @@
         private _children: Node[];
 
         /** @hidden */
-        public _worldMatrix = Matrix.Zero();
+        public _worldMatrix = Matrix.Identity();
         /** @hidden */
         public _worldMatrixDeterminant = 0;