glm/test/gtx/gtx_matrix_decompose.cpp
Christophe Riccio 0e1e181484 Clean up
2016-06-10 23:14:17 +02:00

19 lines
302 B
C++

#include <glm/gtx/matrix_decompose.hpp>
int main()
{
int Error(0);
glm::mat4 Matrix(1);
glm::vec3 Scale;
glm::quat Orientation;
glm::vec3 Translation;
glm::vec3 Skew(1);
glm::vec4 Perspective(1);
glm::decompose(Matrix, Scale, Orientation, Translation, Skew, Perspective);
return Error;
}