diff options
author | omnisci3nce <omniscient.oce@gmail.com> | 2024-07-19 16:47:15 +1000 |
---|---|---|
committer | omnisci3nce <omniscient.oce@gmail.com> | 2024-07-19 16:47:15 +1000 |
commit | 0a984656f5fec68c90acc612b01f897918c0070b (patch) | |
tree | 59fffbcf00ac1507c7c1b281806ae5231c97ed4b /src/core/camera.c | |
parent | 3ccedcee719f5f1663a3be0210761495fab74856 (diff) |
handle right btn as well
Diffstat (limited to 'src/core/camera.c')
-rw-r--r-- | src/core/camera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/camera.c b/src/core/camera.c index c0228ba..7f04207 100644 --- a/src/core/camera.c +++ b/src/core/camera.c @@ -47,7 +47,7 @@ void Camera_Update(Camera *camera) { } // Mouse - if (MouseBtn_Held()) { + if (MouseBtn_Held(MOUSEBTN_LEFT)) { mouse_state mouse = Input_GetMouseState(); // printf("Delta x: %d Delta y %d\n",mouse.x_delta, mouse.y_delta ); |