Flip X mouse deltas if bed is upside down (when camera up vector has negative Z)

This commit is contained in:
Enrico Turri 2019-04-30 15:09:25 +02:00
parent 646986348a
commit 3a5485a179
3 changed files with 7 additions and 1 deletions

View file

@ -25,6 +25,7 @@ Camera::Camera()
, phi(45.0f)
// , distance(0.0f)
, requires_zoom_to_bed(false)
, inverted_phi(false)
, m_theta(45.0f)
, m_target(Vec3d::Zero())
{