save code

This commit is contained in:
xsl
2025-08-30 22:54:33 +08:00
parent 96d9cf6c3e
commit e78d705a76
562 changed files with 93245 additions and 415 deletions
+19
View 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;
}