Skip to content

Instantly share code, notes, and snippets.

@Grabber
Created April 6, 2015 14:01
Show Gist options
  • Save Grabber/e4b0fd747cf9673f0204 to your computer and use it in GitHub Desktop.
Save Grabber/e4b0fd747cf9673f0204 to your computer and use it in GitHub Desktop.
#include <glm/glm.hpp>
#include <glm/ext.hpp>
int main() {
auto m1 = glm::mat4(1.0f);
auto m2 = glm::mat4(2.0f);
printf("%s\n", glm::to_string(m1 * m2).c_str());
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment