Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
soypat authored Dec 18, 2024
2 parents d9e10de + 38ee365 commit d2ce2b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion gsdf_gpu_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import (
"github.com/soypat/gsdf/glbuild"
"github.com/soypat/gsdf/gleval"
)

// Since GPU must be run in main thread we need to do some dark arts for GPU code to be code-covered.
func TestMain(m *testing.M) {
runtime.LockOSThread()
Expand Down
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 d2ce2b9

Please sign in to comment.