22#ifndef INCLUDED_SKELETONANIMDEF
23#define INCLUDED_SKELETONANIMDEF
84 static std::unique_ptr<CSkeletonAnimDef>
Load(
const VfsPath& filename);
Definition: SkeletonAnimDef.h:35
CVector3D m_Translation
Definition: SkeletonAnimDef.h:38
CQuaternion m_Rotation
Definition: SkeletonAnimDef.h:40
Definition: Matrix3D.h:34
Definition: Quaternion.h:26
Definition: SkeletonAnimDef.h:48
@ FILE_VERSION
Definition: SkeletonAnimDef.h:51
size_t GetNumFrames() const
Definition: SkeletonAnimDef.h:78
Key & GetKey(size_t frame, size_t bone)
Definition: SkeletonAnimDef.h:69
static void Save(const VfsPath &pathname, const CSkeletonAnimDef &anim)
Definition: SkeletonAnimDef.cpp:135
float GetDuration() const
Definition: SkeletonAnimDef.h:73
u32 m_UID
Definition: SkeletonAnimDef.h:98
CBoneState Key
Definition: SkeletonAnimDef.h:58
float GetFrameTime() const
Definition: SkeletonAnimDef.h:76
size_t m_NumKeys
Definition: SkeletonAnimDef.h:91
size_t m_NumFrames
Definition: SkeletonAnimDef.h:93
float m_FrameTime
Definition: SkeletonAnimDef.h:89
@ FILE_READ_VERSION
Definition: SkeletonAnimDef.h:53
size_t GetNumKeys() const
Definition: SkeletonAnimDef.h:66
static std::unique_ptr< CSkeletonAnimDef > Load(const VfsPath &filename)
Definition: SkeletonAnimDef.cpp:105
~CSkeletonAnimDef()
Definition: SkeletonAnimDef.cpp:53
CSkeletonAnimDef()
Definition: SkeletonAnimDef.cpp:39
const Key & GetKey(size_t frame, size_t bone) const
Definition: SkeletonAnimDef.h:70
void BuildBoneMatrices(float time, CMatrix3D *matrices, bool loop) const
Definition: SkeletonAnimDef.cpp:60
std::vector< Key > m_Keys
Definition: SkeletonAnimDef.h:95
Definition: Vector3D.h:31
uint32_t u32
Definition: types.h:39