Renamed mouse button enum
This commit is contained in:
parent
23bc3e9c16
commit
4cc8e79678
1 changed files with 77 additions and 74 deletions
|
|
@ -53,7 +53,7 @@ int main(void)
|
|||
CreatePhysicsBodyPolygon((Vector2){ screenWidth/2.0f, screenHeight/2.0f }, GetRandomValue(80, 200), GetRandomValue(3, 8), 10);
|
||||
}
|
||||
|
||||
if (IsMouseButtonPressed(MOUSE_LEFT_BUTTON)) // Physics shatter input
|
||||
if (IsMouseButtonPressed(MOUSE_BUTTON_LEFT)) // Physics shatter input
|
||||
{
|
||||
int count = GetPhysicsBodiesCount();
|
||||
for (int i = count - 1; i >= 0; i--)
|
||||
|
|
|
|||
Loading…
Reference in a new issue