Add model and include files for Ankit's Skeletal Animation tutorial.

This commit is contained in:
Joey de Vries
2021-02-07 19:11:46 +01:00
parent dfcf5ed149
commit 01a2962d01
10 changed files with 8658 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#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