Skip to content

Commit

Permalink
Fix for free camera mode (#3603)
Browse files Browse the repository at this point in the history
* fix free and fp cam

* revert
lesleyrs authored Dec 7, 2023
1 parent d99617d commit 6b93180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rcamera.h
Original file line number Diff line number Diff line change
@@ -449,7 +449,7 @@ void UpdateCamera(Camera *camera, int mode)

bool moveInWorldPlane = ((mode == CAMERA_FIRST_PERSON) || (mode == CAMERA_THIRD_PERSON));
bool rotateAroundTarget = ((mode == CAMERA_THIRD_PERSON) || (mode == CAMERA_ORBITAL));
bool lockView = ((mode == CAMERA_FIRST_PERSON) || (mode == CAMERA_THIRD_PERSON) || (mode == CAMERA_ORBITAL));
bool lockView = ((mode == CAMERA_FREE) || (mode == CAMERA_FIRST_PERSON) || (mode == CAMERA_THIRD_PERSON) || (mode == CAMERA_ORBITAL));
bool rotateUp = false;

if (mode == CAMERA_ORBITAL)

0 comments on commit 6b93180

Please sign in to comment.