Open shi-yan opened 3 years ago
http://www.opengl-tutorial.org/beginners-tutorials/tutorial-3-matrices/
on the above page:
is glm::mat4() an identity matrix? or should it be glm::mat4(1.0) ?
It's an error in the tutorial. It would work like that (at least in the version of glm I use):
glm::translate(glm::vec3(10.f, 0.f, 0.f));
http://www.opengl-tutorial.org/beginners-tutorials/tutorial-3-matrices/
on the above page:
is glm::mat4() an identity matrix? or should it be glm::mat4(1.0) ?