47 const float M_PI = 3.141593f;
49 if (
k < 0)
k = (-std::pow(-
k, 0.7f) + 1) / 2;
50 else k = (std::pow(
k, 0.7f) + 1) / 2;
void actionWidgetDestroy(Widget *_widget, ControllerItem *_controller)
void linearMoveFunction(const IntCoord &_startRect, const IntCoord &_destRect, IntCoord &_result, float _k)
void inertionalMoveFunction(const IntCoord &_startRect, const IntCoord &_destRect, IntCoord &_result, float _current_time)
void actionWidgetHide(Widget *_widget, ControllerItem *_controller)
void actionWidgetShow(Widget *_widget, ControllerItem *_controller)