ソースを参照

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>();