jbousquie 9 年之前
父節點
當前提交
cb17f05c2a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Math/babylon.math.ts

+ 1 - 1
src/Math/babylon.math.ts

@@ -467,7 +467,7 @@
         public normalize(): Vector2 {
         public normalize(): Vector2 {
             var len = this.length();
             var len = this.length();
 
 
-            if (len  === 0)
+            if (len === 0)
                 return this;
                 return this;
 
 
             var num = 1.0 / len;
             var num = 1.0 / len;