mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-26 05:51:30 +00:00
- Fix pitch clamping for GameInput::getInput()
.
This commit is contained in:
parent
7c727efc0c
commit
1cb3a930f2
1 changed files with 1 additions and 1 deletions
|
@ -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 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 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.);
|
static constexpr DAngle MOUSE_SCALE = DAngle::fromDeg(1. / 16.);
|
||||||
|
|
||||||
// Input received from the OS.
|
// Input received from the OS.
|
||||||
|
|
Loading…
Reference in a new issue