Core/Animation: Remove loop-point interpolation boolean

This commit is contained in:
SirLynix
2024-02-19 10:58:47 +01:00
parent d9ad489820
commit 3c7e2a1685
2 changed files with 0 additions and 18 deletions

View File

@@ -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;