Files
LearnOpenGL/includes/learnopengl/animdata.h

20 lines
306 B
C

#pragma once
#include <glm/glm.hpp>
struct BoneInfo
{
/*
For uniquely indentifying the bone and
for indexing bone transformation in shaders
*/
int id;
/*
map from bone name to offset matrix.
offset matrix transforms bone from bone space to local space
*/
glm::mat4 offset;
};
#pragma once