Symphony Of Empires
Eng3D::ValueChase< T > Class Template Reference

#include <value_chase.hpp>

Public Member Functions

constexpr ValueChase (float _friction) noexcept
 
constexpr T move_towards (T current, T target)
 

Detailed Description

template<typename T>
class Eng3D::ValueChase< T >

Definition at line 8 of file value_chase.hpp.

Constructor & Destructor Documentation

◆ ValueChase()

template<typename T >
constexpr Eng3D::ValueChase< T >::ValueChase ( float  _friction)
inlineconstexprnoexcept

Definition at line 12 of file value_chase.hpp.

Member Function Documentation

◆ move_towards()

template<typename T >
constexpr T Eng3D::ValueChase< T >::move_towards ( current,
target 
)
inlineconstexpr

Definition at line 18 of file value_chase.hpp.

Here is the caller graph for this function:

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