Animation WIP merge #321
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue