Add easing to GuiPhaseBar, simplify math a bit.
This commit is contained in:
@@ -95,7 +95,7 @@ public:
|
||||
*/
|
||||
void update(float dt)
|
||||
{
|
||||
if(duration > 0)
|
||||
if(time_acc < duration)
|
||||
{
|
||||
time_acc += dt;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user