diff options
| author | ilotterytea <iltsu@alright.party> | 2025-01-26 20:15:10 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-01-26 20:15:10 +0500 |
| commit | 49051c9b98b2d19ed5b61a874394904e0ba086ab (patch) | |
| tree | e329ae22fbced371478d8bdf79c7567654bb71c9 /src | |
| parent | d6b054ba7a53787bc9c143007176d26bc491c72b (diff) | |
upd: move the camera on middle button click
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ int main() { camera.zoom = 4.0f; } - if (IsMouseButtonDown(MOUSE_BUTTON_RIGHT)) { + if (IsMouseButtonDown(MOUSE_BUTTON_MIDDLE)) { Vector2 mousePos = GetMouseDelta(); camera.target.x -= mousePos.x / 5.0f; camera.target.y -= mousePos.y / 5.0f; |
