This PR fixes a problem introduced by PR #3544: The camera kept looking at the origin when calling move_camera() with given look_at_* coordinates.
The fix can be verified with the following snippet. Moving back and forth between the spheres should not point the camera back to the origin, an the orbit controls should orbit around the sphere which is currently looked at:
This PR fixes a problem introduced by PR #3544: The camera kept looking at the origin when calling
move_camera()
with givenlook_at_*
coordinates.The fix can be verified with the following snippet. Moving back and forth between the spheres should not point the camera back to the origin, an the orbit controls should orbit around the sphere which is currently looked at: