#include <content_cao.h>
Public Member Functions | |
void | translate (f32 dtime) |
Public Member Functions inherited from SmoothTranslator< v3f > | |
SmoothTranslator ()=default | |
void | init (v3f current) |
void | update (v3f new_target, bool is_end_position=false, float update_interval=-1) |
void | translate (f32 dtime) |
Additional Inherited Members | |
Public Attributes inherited from SmoothTranslator< v3f > | |
v3f | val_old |
v3f | val_current |
v3f | val_target |
f32 | anim_time |
f32 | anim_time_counter |
bool | aim_is_end |
void SmoothTranslatorWrappedv3f::translate | ( | f32 | dtime | ) |
References SmoothTranslator< v3f >::aim_is_end, SmoothTranslator< v3f >::anim_time, SmoothTranslator< v3f >::anim_time_counter, SmoothTranslator< v3f >::val_current, SmoothTranslator< v3f >::val_old, SmoothTranslator< v3f >::val_target, and wrappedApproachShortest().
Referenced by GenericCAO::step().