Julien Barrois 6 anni fa
parent
commit
2fe1c70961
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/Culling/babylon.boundingBox.ts

+ 1 - 1
src/Culling/babylon.boundingBox.ts

@@ -1,6 +1,6 @@
 module BABYLON {
 
-    const _identityMatrix = Matrix.Identity();
+    const _identityMatrix = Object.freeze(Matrix.Identity());
 
     /**
      * Class used to store bounding box information