浏览代码

fixed small error...

olivier.g 10 年之前
父节点
当前提交
089934a920
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      Babylon/Math/babylon.math.ts

+ 0 - 3
Babylon/Math/babylon.math.ts

@@ -2089,9 +2089,6 @@
             if(v_fixed) { result.m[5] = tan; }
             else if(h_fixed) { result.m[5] = tan * aspect; }
 
-            result.m[0] = tan / aspect;
-            result.m[1] = result.m[2] = result.m[3] = 0.0;
-            result.m[5] = tan;
             result.m[4] = result.m[6] = result.m[7] = 0.0;
             result.m[8] = result.m[9] = 0.0;
             result.m[10] = -zfar / (znear - zfar);