le2d v0.4.3
2D game engine framework
 
Loading...
Searching...
No Matches
le::anim::Interpolator< Type > Struct Template Reference

Base class template for linear interpolation. More...

#include <le2d/anim/interpolator.hpp>

Public Member Functions

constexpr auto operator() (Type const &a, Type const &b, float const t) const
 

Detailed Description

template<typename Type>
struct le::anim::Interpolator< Type >

Base class template for linear interpolation.

Member Function Documentation

◆ operator()()

template<typename Type >
constexpr auto le::anim::Interpolator< Type >::operator() ( Type const &  a,
Type const &  b,
float const  t 
) const
inlineconstexpr

The documentation for this struct was generated from the following file: