Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
glm/glm.hpp
✓ #include <glm/glm.hpp>
Create a 4x4 rotation matrix using GLM
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <cstdio>
int main() {
glm::mat4 model = glm::rotate(glm::mat4(1.0f), glm::radians(45.0f), glm::vec3(0.0f, 1.0f, 0.0f));
printf("Rotation matrix created\n");
return 0;
}
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.