#include <engine/math/angles.hpp>
#include <cmath>
Go to the source code of this file.
|
| math |
| Mathematical functions and data types.
|
|
|
template<typename T , typename S = float> |
constexpr T | math::lerp (const T &x, const T &y, S a) noexcept |
| Linearly interpolates between x and y . More...
|
|
template<typename T > |
constexpr T | math::lerp_angle (T x, T y, T a) |
| Linearly interpolates between two angles, x and y . More...
|
|
template<typename T , typename S = float> |
T | math::log_lerp (const T &x, const T &y, S a) |
| Logarithmically interpolates between x and y . More...
|
|