Class InterpolationUtils
- Namespace
- Coherence.Interpolation
- Assembly
- Coherence.Interpolation.dll
public static class InterpolationUtils
- Inheritance
-
InterpolationUtils
Methods
PoorMansLerpDouble(double, double, ref double, float, double, float)
public static double PoorMansLerpDouble(double current, double target, ref double velocity, float smoothTime, double maxSpeed, float deltaTime)
Parameters
Returns
SmoothDampDouble(double, double, ref double, float, double, float)
public static double SmoothDampDouble(double current, double target, ref double velocity, float smoothTime, double maxSpeed, float deltaTime)
Parameters
Returns
SmoothDampQuaternion(Quaternion, Quaternion, ref Vector3, float, float, float)
public static Quaternion SmoothDampQuaternion(Quaternion current, Quaternion target, ref Vector3 currentVelocity, float smoothTime, float maxSpeed, float deltaTime)
Parameters
current
Quaterniontarget
QuaternioncurrentVelocity
Vector3smoothTime
floatmaxSpeed
floatdeltaTime
float
Returns
SmoothMixDouble(double, double, ref double, float, double, float)
public static double SmoothMixDouble(double current, double target, ref double velocity, float smoothTime, double maxSpeed, float deltaTime)