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