We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 026265e commit f68cf8eCopy full SHA for f68cf8e
common/controls.cpp
@@ -53,7 +53,7 @@ void computeMatricesFromInputs(){
53
54
// Compute new orientation
55
horizontalAngle += mouseSpeed * float(1024/2 - xpos );
56
- verticalAngle += mouseSpeed * float( 768/2 - ypos );
+ verticalAngle -= mouseSpeed * float( 768/2 - ypos );
57
58
if (verticalAngle < PI/2+0.01) {
59
verticalAngle = PI/2+0.01;
0 commit comments