Explorar el Código

update catmullRom

Guide hace 7 años
padre
commit
448a46423b
Se han modificado 1 ficheros con 1 adiciones y 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>();