peasy
Class InterpolationUtil

java.lang.Object
  extended by peasy.InterpolationUtil

public class InterpolationUtil
extends java.lang.Object


Constructor Summary
InterpolationUtil()
           
 
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
 

Constructor Detail

InterpolationUtil

public InterpolationUtil()
Method Detail

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