Antkeeper
0.0.1
|
Eases toward a target entity. More...
#include <ease-to-constraint.hpp>
Public Attributes | |
entity::id | target |
Target entity ID. More... | |
math::fvec3 | start |
Start position. More... | |
float | duration |
Total duration of the ease. More... | |
float | t |
Elapsed time since ease began. More... | |
math::fvec3(* | function )(const math::fvec3 &, const math::fvec3 &, float) |
Pointer to the interpolation function. More... | |
Eases toward a target entity.
Definition at line 30 of file ease-to-constraint.hpp.
float ease_to_constraint::duration |
Total duration of the ease.
Definition at line 39 of file ease-to-constraint.hpp.
math::fvec3(* ease_to_constraint::function) (const math::fvec3 &, const math::fvec3 &, float) |
Pointer to the interpolation function.
Definition at line 45 of file ease-to-constraint.hpp.
math::fvec3 ease_to_constraint::start |
Start position.
Definition at line 36 of file ease-to-constraint.hpp.
float ease_to_constraint::t |
Elapsed time since ease began.
Definition at line 42 of file ease-to-constraint.hpp.
entity::id ease_to_constraint::target |
Target entity ID.
Definition at line 33 of file ease-to-constraint.hpp.