#ifndef RAGNAROK_SOURCE_CONTENTS_MODELS_MODELANIMATION_H #define RAGNAROK_SOURCE_CONTENTS_MODELS_MODELANIMATION_H #include "Resource/Models/ModelResource.h" #include "Utility/Math/AffineMatrix.h" #include void SampleLegacyPosition(std::span keys, int frame, matrix& output); void SampleLegacyRotation(std::span keys, int frame, matrix& output); void SampleLegacyScale(std::span keys, int frame, matrix& output); void SampleModelScale(std::span keys, float frame, matrix& output); void SampleModelPosition(std::span keys, float frame, const matrix& base, matrix& output); void SampleModelRotation(std::span keys, float frame, const matrix& base, matrix& output); void QuaternionMatrix(const ModelRotationKey& key, matrix& output); void InterpolateModelRotation(float amount, const ModelRotationKey& first, const ModelRotationKey& second, int spins, ModelRotationKey& output); #endif