virtual void scrollEvent(ScrollEvent & event) override { if (WorldInHandNavigation::NoInteraction != m_nav.mode()) return; m_nav.scaleAtMouse(event.pos(), -event.offset().y * 0.1f); event.accept(); }
virtual void scrollEvent(ScrollEvent & event) override { if (glowutils::WorldInHandNavigation::NoInteraction != m_nav->mode()) return; m_nav->scaleAtCenter(-event.offset().y * 0.1f); event.accept(); }