Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- glm::mat4 matrix;
- std::cout<<glm::to_string(matrix)<<std::endl; //output correct identity matrix
- glm::translate(matrix,glm::vec3(0.0,3.3,0.0));
- std::cout<<glm::to_string(matrix)<<std::endl;
- mat4x4((1.000000, 0.000000, 0.000000, 0.000000),
- (0.000000, 1.000000, 0.000000, 0.000000),
- (0.000000, 0.000000, 1.000000, 0.000000),
- (0.000000, 3.300000, 0.000000, 1.000000))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement