use glm's math functions and constants instead of Qt's.