Core/Animation: Remove loop-point interpolation boolean
This commit is contained in:
@@ -21,7 +21,6 @@ namespace Nz
|
||||
std::vector<Sequence> sequences;
|
||||
std::vector<SequenceJoint> sequenceJoints; // Uniquement pour les animations squelettiques
|
||||
AnimationType type;
|
||||
bool loopPointInterpolation = false;
|
||||
std::size_t frameCount;
|
||||
std::size_t jointCount; // Uniquement pour les animations squelettiques
|
||||
};
|
||||
@@ -126,13 +125,6 @@ namespace Nz
|
||||
m_impl.reset();
|
||||
}
|
||||
|
||||
void Animation::EnableLoopPointInterpolation(bool loopPointInterpolation)
|
||||
{
|
||||
NazaraAssert(m_impl, "Animation not created");
|
||||
|
||||
m_impl->loopPointInterpolation = loopPointInterpolation;
|
||||
}
|
||||
|
||||
std::size_t Animation::GetFrameCount() const
|
||||
{
|
||||
NazaraAssert(m_impl, "Animation not created");
|
||||
@@ -249,13 +241,6 @@ namespace Nz
|
||||
return index >= m_impl->sequences.size();
|
||||
}
|
||||
|
||||
bool Animation::IsLoopPointInterpolationEnabled() const
|
||||
{
|
||||
NazaraAssert(m_impl, "Animation not created");
|
||||
|
||||
return m_impl->loopPointInterpolation;
|
||||
}
|
||||
|
||||
bool Animation::IsValid() const
|
||||
{
|
||||
return m_impl != nullptr;
|
||||
|
||||
Reference in New Issue
Block a user