diff options
| author | victorfisac <victorfisac@gmail.com> | 2016-06-14 20:23:46 +0200 |
|---|---|---|
| committer | victorfisac <victorfisac@gmail.com> | 2016-06-14 20:23:46 +0200 |
| commit | 54537e8f0b57df2f3f15d8e46309672f46e4775a (patch) | |
| tree | 4f8d48f305a0bfd8cd15e883d71d2e407acb4d2f /examples/physics_basic_rigidbody.c | |
| parent | c9c1263e6fda9926f29ec8417ca48a518dfc97e1 (diff) | |
| download | raylib-54537e8f0b57df2f3f15d8e46309672f46e4775a.tar.gz raylib-54537e8f0b57df2f3f15d8e46309672f46e4775a.zip | |
Fixed bug in delta time calculation...
and added PHYSAC_NO_THREADS define. Improved physac example drawing
frames per second in screen.
Diffstat (limited to 'examples/physics_basic_rigidbody.c')
| -rw-r--r-- | examples/physics_basic_rigidbody.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/physics_basic_rigidbody.c b/examples/physics_basic_rigidbody.c index 811ab982..5223f46a 100644 --- a/examples/physics_basic_rigidbody.c +++ b/examples/physics_basic_rigidbody.c @@ -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(); //---------------------------------------------------------------------------------- } |
