Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions TheForceEngine/TFE_Jedi/Renderer/jediRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ namespace TFE_Jedi

// Clamp the pitch to 60 degrees (vanilla plus) for software renderer
// Higher values may be passed in if the camera is being moved by a VUE or is attached to a non-player object
if (pitch > 8192) { pitch -= ANGLE_MAX; }
angle14_32 clampedPitch = clamp(pitch, -2730, 2730);

// For now compute both fixed-point and floating-point camera transforms so that it is easier to swap between sub-renderers.
Expand Down
Loading