From 2545f62565fd246d1c59bf9a6bcf4942f4ad12ad Mon Sep 17 00:00:00 2001 From: Lambert Wang <77245864+lambert-wang@users.noreply.github.com> Date: Sat, 8 May 2021 09:26:24 -0700 Subject: Added support for additional mouse buttons (#1753) * Added support for additional mouse buttons * Renamed mouse button enum Co-authored-by: Lambert Wang --- examples/models/models_loading.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/models/models_loading.c') 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; -- cgit v1.2.3