mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 12:49:18 +02:00
merge local branch 'mover_in_c++'
This commit is contained in:
19
ref/glm/test/gtx/gtx_matrix_decompose.cpp
Normal file
19
ref/glm/test/gtx/gtx_matrix_decompose.cpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#define GLM_ENABLE_EXPERIMENTAL
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user