We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e56ca3 commit ae939afCopy full SHA for ae939af
src/EasingCurve.cpp
@@ -1,3 +1,4 @@
1
+#include <cmath>
2
#include <ncine/common_constants.h>
3
#include "EasingCurve.h"
4
src/main.cpp
@@ -179,7 +179,7 @@ void MyEventHandler::onShutdown()
179
180
void MyEventHandler::onFrameStart()
181
{
182
- const float interval = nc::theApplication().interval();
+ const float frameTime = nc::theApplication().frameTime();
183
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
184
185
theCanvas->bind();
@@ -196,7 +196,7 @@ void MyEventHandler::onFrameStart()
196
}
197
198
else
199
- theAnimMgr->update(interval);
+ theAnimMgr->update(frameTime);
200
theSpriteMgr->update();
201
202
theCanvas->unbind();
0 commit comments