glm vec3 divide code example Example: glm multiply vector by scalar glm::vec3 a = glm::vec3(2,2,2) * 0.5f;// Should be a float scalar