I have a small obj loader and it takes two parameters and passes them back to the input variables.. however this is my first time doing this and i\'m not sure how to print s
GLM has operator<<() in
operator<<()
#include #include #include int main() { glm::vec3 v(1.0f, 2.0f, 3.0f); std::cout << v << std::endl; }
Output is:
[ 1.000, 2.000, 3.000]