mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-02 04:37:54 +08:00
15 lines
207 B
C
15 lines
207 B
C
#pragma once
|
|
|
|
#include<glm/glm.hpp>
|
|
|
|
struct BoneInfo
|
|
{
|
|
/*id is index in finalBoneMatrices*/
|
|
int id;
|
|
|
|
/*offset matrix transforms vertex from model space to bone space*/
|
|
glm::mat4 offset;
|
|
|
|
};
|
|
#pragma once
|