mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-05 21:08:09 +00:00
Changed IsKeyPressed('R') to IsKeyPressed(KEY_R) for Physics examples! (#1666)
This commit is contained in:
@@ -59,7 +59,7 @@ int main(void)
|
||||
//----------------------------------------------------------------------------------
|
||||
UpdatePhysics(); // Update physics system
|
||||
|
||||
if (IsKeyPressed('R')) // Reset physics input
|
||||
if (IsKeyPressed(KEY_R)) // Reset physics input
|
||||
{
|
||||
// Reset circles physics bodies position and velocity
|
||||
circleA->position = (Vector2){ screenWidth*0.25f, screenHeight/2 };
|
||||
|
||||
Reference in New Issue
Block a user