mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:07:42 +00:00
Various imps and stubs
This commit is contained in:
29
Runtime/Character/IVaryingAnimationTimeScale.hpp
Normal file
29
Runtime/Character/IVaryingAnimationTimeScale.hpp
Normal file
@@ -0,0 +1,29 @@
|
||||
#ifndef __URDE_IVARYINGANIMATIONTIMESCALE_HPP__
|
||||
#define __URDE_IVARYINGANIMATIONTIMESCALE_HPP__
|
||||
|
||||
#include "CCharAnimTime.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
class IVaryingAnimationTimeScale
|
||||
{
|
||||
public:
|
||||
virtual u32 GetType() const = 0;
|
||||
virtual float VTimeScaleIntegral(const float&, const float&) const = 0;
|
||||
virtual float VFindUpperLimit(const float&, const float&) const = 0;
|
||||
virtual std::unique_ptr<IVaryingAnimationTimeScale> VClone() const = 0;
|
||||
virtual std::unique_ptr<IVaryingAnimationTimeScale> VGetFunctionMirrored(const float&) const = 0;
|
||||
CCharAnimTime FindUpperLimit(const CCharAnimTime& a, const CCharAnimTime& b) const
|
||||
{
|
||||
return VFindUpperLimit(a, b);
|
||||
}
|
||||
|
||||
CCharAnimTime TimeScaleIntegral(const CCharAnimTime& a, const CCharAnimTime& b) const
|
||||
{
|
||||
return VTimeScaleIntegral(a, b);
|
||||
}
|
||||
|
||||
std::unique_ptr<IVaryingAnimationTimeScale> Clone() const { return VClone(); }
|
||||
};
|
||||
}
|
||||
#endif // __URDE_IVARYINGANIMATIONTIMESCALE_HPP__
|
||||
Reference in New Issue
Block a user