Fixed bug in delta time calculation...
and added PHYSAC_NO_THREADS define. Improved physac example drawing frames per second in screen.
This commit is contained in:
parent
c9c1263e6f
commit
54537e8f0b
3 changed files with 21 additions and 11 deletions
|
@ -110,6 +110,8 @@ int main()
|
|||
// Draw help message
|
||||
DrawText("Use WASD to move rectangle and ARROWS to move square", screenWidth/2 - MeasureText("Use WASD to move rectangle and ARROWS to move square", 20)/2, screenHeight*0.075f, 20, LIGHTGRAY);
|
||||
|
||||
DrawFPS(10, 10);
|
||||
|
||||
EndDrawing();
|
||||
//----------------------------------------------------------------------------------
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue