Skip to content

Commit

Permalink
fix mouse yaw movement in UI
Browse files Browse the repository at this point in the history
  • Loading branch information
soypat committed Dec 15, 2024
1 parent 269ef3e commit 38ee365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gsdfaux/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void main() {
deltaX := xpos - lastMouseX
deltaY := ypos - lastMouseY

yaw += deltaX * yawSensitivity
yaw -= deltaX * yawSensitivity
pitch -= deltaY * pitchSensitivity // Invert y-axis

// Clamp pitch
Expand Down

0 comments on commit 38ee365

Please sign in to comment.