librw
librw copied to clipboard
[Bug?] Camera rotation using `sk::CameraTilt` and `sk::CameraPan` makes the camera also rotate on Z axis
Camera rotation using sk::CameraTilt
and sk::CameraPan
makes the camera also rotate on Z axis...
The issue also appears in the built-in tools/camera
example.
Using these lines:
sk::CameraTilt(camera, nil, deltaY);
sk::CameraPan(camera, nil, deltaX);
I'm not sure if it's a bug in the engine or issue with my code somehow. Here's a video showing the issue.
https://github.com/aap/librw/assets/62715937/2c227285-3bcd-445d-992f-a47b4a1fba80