4#ifndef TRAM_SDK_ARMATURE_H
5#define TRAM_SDK_ARMATURE_H
7#include <unordered_map>
Definition: animation.h:40
void LoadFromMemory()
Definition: animation.h:47
void LoadFromDisk()
Definition: animation.cpp:24
static Animation * Find(name_t name)
Definition: animation.cpp:71
void Unload()
Definition: animation.h:49
NameCount * GetPointer()
Definition: animation.h:44
Animation(name_t name)
Definition: animation.h:42
Definition: resource.h:12
name_t name
Definition: resource.h:38
std::pair< name_t, uint64_t > NameCount
Definition: animation.h:17
const size_t BONE_COUNT
Definition: animation.h:18
glm::vec3 vec3
Definition: math.h:12
glm::quat quat
Definition: math.h:13
glm::mat4 mat4
Definition: math.h:15
Definition: animation.h:20
name_t name
Definition: animation.h:21
int32_t parent
Definition: animation.h:22
float roll
Definition: animation.h:25
vec3 tail
Definition: animation.h:24
vec3 head
Definition: animation.h:23
Definition: animation.h:28
float frame
Definition: animation.h:29
char padding[4]
Definition: animation.h:33
vec3 location
Definition: animation.h:30
vec3 scale
Definition: animation.h:32
quat rotation
Definition: animation.h:31
Definition: animation.h:36
mat4 pose[BONE_COUNT]
Definition: animation.h:37