diff --git a/include/Nazara/Core/Animation.hpp b/include/Nazara/Core/Animation.hpp index 1cbf36ad4..0ba1006bc 100644 --- a/include/Nazara/Core/Animation.hpp +++ b/include/Nazara/Core/Animation.hpp @@ -70,8 +70,6 @@ namespace Nz bool CreateSkeletal(std::size_t frameCount, std::size_t jointCount); void Destroy(); - void EnableLoopPointInterpolation(bool loopPointInterpolation); - std::size_t GetFrameCount() const; std::size_t GetJointCount() const; Sequence* GetSequence(std::string_view sequenceName); @@ -87,7 +85,6 @@ namespace Nz bool HasSequence(std::string_view sequenceName) const; bool HasSequence(std::size_t index = 0) const; - bool IsLoopPointInterpolationEnabled() const; bool IsValid() const; void RemoveSequence(std::string_view sequenceName); diff --git a/src/Nazara/Core/Animation.cpp b/src/Nazara/Core/Animation.cpp index 53b7d149b..da7cc5c62 100644 --- a/src/Nazara/Core/Animation.cpp +++ b/src/Nazara/Core/Animation.cpp @@ -21,7 +21,6 @@ namespace Nz std::vector sequences; std::vector 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;