We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
UpdateCamera(Camera *camera, int mode)
1 parent e47ebec commit 10e702fCopy full SHA for 10e702f
src/rcamera.h
@@ -444,7 +444,8 @@ void UpdateCamera(Camera *camera, int mode)
444
bool lockView = ((mode == CAMERA_FREE) || (mode == CAMERA_FIRST_PERSON) || (mode == CAMERA_THIRD_PERSON) || (mode == CAMERA_ORBITAL));
445
bool rotateUp = false;
446
447
- if (mode == CAMERA_ORBITAL)
+ if (mode == CAMERA_CUSTOM) {}
448
+ else if (mode == CAMERA_ORBITAL)
449
{
450
// Orbital can just orbit
451
Matrix rotation = MatrixRotate(GetCameraUp(camera), CAMERA_ORBITAL_SPEED*GetFrameTime());
0 commit comments