Times in SFML are now Uint32 milliseconds instead of float seconds
Added the sf::Uint64 and sf::Int64 types
This commit is contained in:
parent
c1ce16f4d6
commit
e4c6c30e0b
83 changed files with 250 additions and 262 deletions
|
@ -87,7 +87,7 @@ namespace opengl
|
|||
float y = -window.Input.GetMouseY() * 200.0F / window.Height + 100.0F;
|
||||
|
||||
// Apply some transformations
|
||||
time += window.GetFrameTime();
|
||||
time += window.GetFrameTime() / 1000.0F;
|
||||
Gl.glMatrixMode(Gl.GL_MODELVIEW);
|
||||
Gl.glLoadIdentity();
|
||||
Gl.glTranslatef(x, y, -100.0F);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue