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