|
Motive Animation System
An open source project by
FPL.
|
Utility functions to construct MotiveTargets of dimension >= 2. More...
#include <target.h>
Utility functions to construct MotiveTargets of dimension >= 2.
Public Types | |
|
typedef VectorT< C, kDimensionsT >::type | Vec |
|
typedef MotiveTargetN < kDimensionsT > | MotiveTarget |
| typedef const Vec & | VecIn |
Static Public Member Functions | |
| static MotiveTarget | Current (VecIn current_value, VecIn current_velocity=Vec(0.0f)) |
| static MotiveTarget | Target (VecIn target_value, VecIn target_velocity, MotiveTime target_time, motive::ModularDirection direction=motive::kDirectionClosest) |
| static MotiveTarget | CurrentToTarget (VecIn current_value, VecIn current_velocity, VecIn target_value, VecIn target_velocity, MotiveTime target_time, motive::ModularDirection direction=motive::kDirectionClosest) |
| Set both the current and target values for an Motivator. | |
| static MotiveTarget | CurrentToTargetConstVelocity (VecIn current_value, VecIn target_value, MotiveTime target_time) |
| Move from the current value to the target value at a constant speed. | |
Static Public Attributes | |
| static const int | kDimensions = kDimensionsT |
|
inlinestatic |
Set the Motivator's current values. Target values are reset to be the same as the new current values.
|
inlinestatic |