Changed IsKeyPressed('R') to IsKeyPressed(KEY_R) for Physics examples! (#1666)

This commit is contained in:
Rabia Alhaffar
2021-03-22 17:44:12 +02:00
committed by GitHub
parent b573ff3e7a
commit 8e1e1ef970
5 changed files with 6 additions and 6 deletions

View File

@@ -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 };