use glm - math.h is not cross-platform friendly