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 994acb0 commit c0b5310Copy full SHA for c0b5310
src/view.cpp
@@ -239,8 +239,8 @@ void processRotate(glm::vec2 startP, glm::vec2 endP) {
239
}
240
case NavigateStyle::FirstPerson: {
241
glm::vec2 dragDelta = endP - startP;
242
- float delTheta = 2.0 * dragDelta.x * moveScale;
243
- float delPhi = 2.0 * dragDelta.y * moveScale;
+ float delTheta = 2.0 * dragDelta.x;
+ float delPhi = 2.0 * dragDelta.y;
244
245
// Rotation about the vertical axis
246
glm::vec3 rotAx = glm::mat3(viewMat) * getUpVec();
0 commit comments