SleakEngine 1.0.0
C++23 multi-backend game engine
Loading...
Searching...
No Matches
AnimatorComponent.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  Sleak
 Root namespace for everything the engine exposes.

Functions

template<typename T>
static std::pair< int, float > Sleak::FindKeyframe (const std::vector< Keyframe< T > > &keys, float time)
 Finds the keyframe pair straddling time and the lerp factor between them.
static Math::Vector3D Sleak::LerpVec3 (const Math::Vector3D &a, const Math::Vector3D &b, float t)
 Componentwise vector lerp.