public class CatmullRomUtils extends Object
| Constructor and Description |
|---|
CatmullRomUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
static Vector2[] |
subdividePoints(Vector2[] points,
int subdivisions)
Creates catmull spline curves between the points array.
|
public static Vector2[] subdividePoints(Vector2[] points, int subdivisions)
points - The current 2D points arraysubdivisions - The number of subdivisions to add between each of the points.public static void main(String[] args)
Copyright © 2014-2016 gdx2d - https://github.com/hevs-isi/gdx2d