This commit is contained in:
Alexey Karnachev 2023-12-30 16:46:47 +04:00
commit 9e6cd245e3

View file

@ -25,7 +25,8 @@
#define CAMERA_ZOOM_SPEED 1.0f
// Updates the camera in the orbital-style, i.e camera rotates around the look-at point by the orbit
static void updateCamera(Camera3D* camera) {
static void updateCamera(Camera3D* camera)
{
bool isMMBDown = IsMouseButtonDown(2);
bool isShiftDown = IsKeyDown(KEY_LEFT_SHIFT);
Vector2 mouseDelta = GetMouseDelta();