mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-16 01:37:57 -05:00
chore: replace custom vector, quaternion, matrix implementation with eigen library
This commit is contained in:
@ -1,11 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include "Math/Quaternion.h"
|
||||
#include "Utils/DistinctMapper.h"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
struct XModelQuaternion
|
||||
{
|
||||
float x;
|
||||
float y;
|
||||
float z;
|
||||
float w;
|
||||
};
|
||||
|
||||
struct XModelBone
|
||||
{
|
||||
std::string name;
|
||||
@ -13,8 +20,8 @@ struct XModelBone
|
||||
float scale[3];
|
||||
float globalOffset[3];
|
||||
float localOffset[3];
|
||||
Quaternion32 globalRotation;
|
||||
Quaternion32 localRotation;
|
||||
XModelQuaternion globalRotation;
|
||||
XModelQuaternion localRotation;
|
||||
};
|
||||
|
||||
struct XModelBoneWeight
|
||||
|
Reference in New Issue
Block a user