瀏覽代碼

remove Object.Freeze -> compilation error

Julien Barrois 6 年之前
父節點
當前提交
3fd2d5aecd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Culling/babylon.boundingBox.ts

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

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