24static_assert(
sizeof(
ModelVertex) == 48,
"ModelVertex size mismatch — check padding");
25static_assert(offsetof(
ModelVertex, normal) == 12,
"ModelVertex normal offset mismatch");
26static_assert(offsetof(
ModelVertex, texCoord) == 24,
"ModelVertex texCoord offset mismatch");
27static_assert(offsetof(
ModelVertex, tangent) == 32,
"ModelVertex tangent offset mismatch");
One vertex in a skinned bind-pose mesh.
Definition SkinVertex.hpp:17
glm::vec3 normal
Definition SkinVertex.hpp:19
glm::vec2 texCoord
Definition SkinVertex.hpp:20
glm::vec3 position
Definition SkinVertex.hpp:18
glm::vec4 tangent
Definition SkinVertex.hpp:21