44 float Step(
float fDelta,
float fTarget);
62 mMaxSpeed = flMaxSpeed;
float GetValue() const
Definition quadraticapproach.h:47
~QuadraticApproach()
Destroy the value.
void SetCurve(const Vector3 &coeffs, float flMaxSpeed)
Set the curve and the greatest speed.
Definition quadraticapproach.h:58
float Step(float fDelta, float fTarget)
Move the value toward a target without passing it.
QuadraticApproach(const Vector3 &coeffs, float fValue, float fMaxSpeed)
Construct a value at rest.
Three-component vector, padded to a PlayStation 2 quadword.
Definition vector3.h:14
float x
Definition vector3.h:15
float y
Definition vector3.h:16
float z
Definition vector3.h:17