Skip to content

Commit

Permalink
- Fix pitch clamping for GameInput::getInput().
Browse files Browse the repository at this point in the history
  • Loading branch information
mjr4077au committed Nov 13, 2023
1 parent 7c727ef commit 1cb3a93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/core/gameinput.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class GameInput

static constexpr double YAW_TURNSPEEDS[3] = { 234.375 * (360. / 2048.), 890.625 * (360. / 2048.), 1548.75 * (360. / 2048.) };
static constexpr DVector3 MAXVEL[3] = { { 0., 0., 1. }, { 1., 1., 1. }, { 2., 2., 1. } };
static constexpr DRotator MAXANG = { DAngle180 - minAngle, DAngle180 - minAngle, DAngle180 - minAngle };
static constexpr DRotator MAXANG = { DAngle90 - minAngle, DAngle180 - minAngle, DAngle180 - minAngle };
static constexpr DAngle MOUSE_SCALE = DAngle::fromDeg(1. / 16.);

// Input received from the OS.
Expand Down

0 comments on commit 1cb3a93

Please sign in to comment.