This commit is contained in:
parent
2a24119501
commit
79caf039ef
19 changed files with 3844 additions and 0 deletions
21
Utils/Libs/Maths/Decompose.h
Normal file
21
Utils/Libs/Maths/Decompose.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
/**** Decompose.h - Basic declarations ****/
|
||||
#ifndef _H_Decompose
|
||||
#define _H_Decompose
|
||||
|
||||
#include "matrix4x4.h"
|
||||
#include "vector3.h"
|
||||
#include "quat.h"
|
||||
|
||||
struct AffineParts
|
||||
{
|
||||
Vector3 t;
|
||||
Quaternion q;
|
||||
Quaternion u;
|
||||
Vector3 k;
|
||||
float f;
|
||||
};
|
||||
|
||||
void decomp_affine(Matrix4x4 const &A, AffineParts *parts);
|
||||
void invert_affine(AffineParts *parts, AffineParts *inverse);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue