Skip to content

Commit c0b5310

Browse files
committed
make first-person view angle ignore movespeed param
1 parent 994acb0 commit c0b5310

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/view.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ void processRotate(glm::vec2 startP, glm::vec2 endP) {
239239
}
240240
case NavigateStyle::FirstPerson: {
241241
glm::vec2 dragDelta = endP - startP;
242-
float delTheta = 2.0 * dragDelta.x * moveScale;
243-
float delPhi = 2.0 * dragDelta.y * moveScale;
242+
float delTheta = 2.0 * dragDelta.x;
243+
float delPhi = 2.0 * dragDelta.y;
244244

245245
// Rotation about the vertical axis
246246
glm::vec3 rotAx = glm::mat3(viewMat) * getUpVec();

0 commit comments

Comments
 (0)