Explorar o código

update catmullRom

Guide %!s(int64=7) %!d(string=hai) anos
pai
achega
448a46423b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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>();