Add generic XModel Export dumper without bone support yet

This commit is contained in:
Jan
2021-08-13 09:40:12 +02:00
parent 56ebbbcfa8
commit 767daca2ea
28 changed files with 1112 additions and 30 deletions

40
src/Utils/Math/Vector.h Normal file
View File

@ -0,0 +1,40 @@
#pragma once
template<typename T>
class Vector3
{
public:
union
{
struct
{
T m_x;
T m_y;
T m_z;
};
T m_data[3];
} u;
};
typedef Vector3<float> Vector3f;
typedef Vector3<double> Vector3d;
template<typename T>
class Vector4
{
public:
union
{
struct
{
T m_x;
T m_y;
T m_z;
T m_w;
};
T m_data[4];
} u;
};
typedef Vector3<float> Vector4f;
typedef Vector3<double> Vector4d;