public class CatmullRomSpline extends Object
| Constructor and Description |
|---|
CatmullRomSpline(float p0,
float p1,
float p2,
float p3) |
| Modifier and Type | Method and Description |
|---|---|
float |
getP0() |
float |
getP1() |
float |
getP2() |
float |
getP3() |
static void |
main(String[] args)
Example implementation
|
float |
q(float t) |
void |
setP0(float p0) |
void |
setP1(float p1) |
void |
setP2(float p2) |
void |
setP3(float p3) |
public static void main(String[] args)
public float q(float t)
public float getP0()
public void setP0(float p0)
p0 - the p0 to setpublic float getP1()
public void setP1(float p1)
p1 - the p1 to setpublic float getP2()
public void setP2(float p2)
p2 - the p2 to setpublic float getP3()
public void setP3(float p3)
p3 - the p3 to setCopyright © 2014-2016 gdx2d - https://github.com/hevs-isi/gdx2d