mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-14 06:06:11 +00:00
Various imps and stubs
This commit is contained in:
19
Runtime/Character/CConstantAnimationTimeScale.cpp
Normal file
19
Runtime/Character/CConstantAnimationTimeScale.cpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#include "CConstantAnimationTimeScale.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
|
||||
float CConstantAnimationTimeScale::VTimeScaleIntegral(const float& a, const float& b) const { return (b - a) * x4_; }
|
||||
float CConstantAnimationTimeScale::VFindUpperLimit(const float& a, const float& b) const { return (b / x4_) + a; }
|
||||
|
||||
std::unique_ptr<IVaryingAnimationTimeScale> CConstantAnimationTimeScale::VClone() const
|
||||
{
|
||||
return std::make_unique<CConstantAnimationTimeScale>(x4_);
|
||||
}
|
||||
|
||||
std::unique_ptr<IVaryingAnimationTimeScale> CConstantAnimationTimeScale::VGetFunctionMirrored(const float&) const
|
||||
{
|
||||
return Clone();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user