maybe use glm::floor if that is the intention of the int casting