peasy
Class InterpolationUtil
java.lang.Object
peasy.InterpolationUtil
public class InterpolationUtil
- extends java.lang.Object
Method Summary |
static double |
linear(double a,
double b,
double t)
|
static Vector3D |
linear(Vector3D a,
Vector3D b,
double t)
|
static Rotation |
slerp(Rotation a,
Rotation b,
double t)
|
static double |
smooth(double a,
double b,
double t)
|
static Vector3D |
smooth(Vector3D a,
Vector3D b,
double t)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InterpolationUtil
public InterpolationUtil()
slerp
public static Rotation slerp(Rotation a,
Rotation b,
double t)
smooth
public static double smooth(double a,
double b,
double t)
smooth
public static Vector3D smooth(Vector3D a,
Vector3D b,
double t)
linear
public static double linear(double a,
double b,
double t)
linear
public static Vector3D linear(Vector3D a,
Vector3D b,
double t)
processing library peasycam by Jonathan Feinberg. (c) 2011