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 1 additions and 6 deletions
Showing only changes of commit 3e23f08aa8 - Show all commits

View File

@ -59,13 +59,8 @@ namespace SHADE
else
return nextKeyFrame->Data;
}
// At the front, so no prior key frames
else if (nextKeyFrame != keyframes.end())
{
return nextKeyFrame->Data;
}
// At the back, so no keyframes will follow
else
else if (nextKeyFrame == keyframes.end())
{
return firstKeyFrame->Data;
}