Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

glm multiply vector by scalar

glm::vec3 a = glm::vec3(2,2,2) * 0.5f;// Should be a float scalar
 
PREVIOUS NEXT
Tagged: #glm #multiply #vector #scalar
ADD COMMENT
Topic
Name
6+6 =