summaryrefslogtreecommitdiffhomepage
path: root/examples/models
diff options
context:
space:
mode:
Diffstat (limited to 'examples/models')
-rw-r--r--examples/models/models_loading.c2
-rw-r--r--examples/models/models_mesh_generation.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/models/models_loading.c b/examples/models/models_loading.c
index f6cd0589..a7d34bbd 100644
--- a/examples/models/models_loading.c
+++ b/examples/models/models_loading.c
@@ -95,7 +95,7 @@ int main(void)
}
// Select model on mouse click
- if (IsMouseButtonPressed(MOUSE_LEFT_BUTTON))
+ if (IsMouseButtonPressed(MOUSE_BUTTON_LEFT))
{
// Check collision between ray and box
if (CheckCollisionRayBox(GetMouseRay(GetMousePosition(), camera), bounds)) selected = !selected;
diff --git a/examples/models/models_mesh_generation.c b/examples/models/models_mesh_generation.c
index ab11b84b..095aad82 100644
--- a/examples/models/models_mesh_generation.c
+++ b/examples/models/models_mesh_generation.c
@@ -113,7 +113,7 @@ int main(void)
//----------------------------------------------------------------------------------
UpdateCamera(&camera); // Update internal camera and our camera
- if (IsMouseButtonPressed(MOUSE_LEFT_BUTTON))
+ if (IsMouseButtonPressed(MOUSE_BUTTON_LEFT))
{
currentModel = (currentModel + 1)%NUM_MODELS; // Cycle between the textures
}