瀏覽代碼

update catmullRom

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

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

@@ -6560,6 +6560,7 @@
                         amount += step;
                     }
                 }
+                catmullRom.push(catmullRom[0]);
             }
             else {
                 var totalPoints = new Array<Vector3>();