Animation WIP merge #321

Merged
XiaoQiDigipen merged 76 commits from SP3-17-animation-system into main 2023-01-30 17:35:57 +08:00
1 changed files with 8 additions and 0 deletions
Showing only changes of commit 51479d2bd0 - Show all commits

View File

@ -171,6 +171,10 @@ namespace SHADE
addJob.VertexBoneIndices, addJob.VertexBoneIndices + addJob.VertexCount * SHMesh::BONE_INDICES_PER_VERTEX
);
}
else
{
vertBoneIdxStorage.resize(vertBoneIdxStorage.size() + addJob.VertexCount * SHMesh::BONE_INDICES_PER_VERTEX);
}
if (addJob.VertexBoneWeights)
{
vertBoneWeightStorage.insert
@ -179,6 +183,10 @@ namespace SHADE
addJob.VertexBoneWeights, addJob.VertexBoneWeights + addJob.VertexCount
);
}
else
{
vertBoneWeightStorage.resize(vertBoneWeightStorage.size() + addJob.VertexCount);
}
indexStorage.insert
(
indexStorage.end(),