Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR address part of "REVIEW: Example: core_3d_camera_free. Displayed controls do not match and camera behaves strangely." from #2952.
Fixes
CAMERA_FREE
behaving strangely (unintended rolling while yawing and pitching) by settingrotateUp
tofalse
(R439). This change does not impact the other cameras, becauserotateUp
is alreadyfalse
for them.Fixes
CAMERA_FREE
mouse wheel zoom by adding it to the zoom mode check (R503).Adds pan to
CAMERA_FREE
by adding handling for it before mouse and keyboard handling (R462-R472) and a define forCAMERA_PAN_SPEED
(R187).Readds up (
Space
) and down (Left Ctrl
) movement toCAMERA_FREE
(R496-R500). This change does not impact the other cameras because it was already disabled for them.Tested these proposed changes successfully on
PLATFORM_DESKTOP
on Linux (Linux Mint 21.1 x86_64) andPLATFORM_WEB
.Edit: added line marks.