Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save donaldmunro/38841d72c65a1c32f2bf83a4a00a2c9a to your computer and use it in GitHub Desktop.
Save donaldmunro/38841d72c65a1c32f2bf83a4a00a2c9a to your computer and use it in GitHub Desktop.
Display/print a GLM mat or vec
#include <glm/gtx/string_cast.hpp>
..
..
glm::mat4 mat;
..
..
std::cout << glm::to_string(mat) << std::endl;
@rarepng
Copy link

rarepng commented Jun 3, 2024

how do u resolve this confusion?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment