Go to the source code of this file.
Namespaces | |
eagine | |
Common code is placed in this namespace. | |
eagine::math | |
Math-related code is placed in this namespace. | |
Functions | |
template<typename T , typename C > | |
static auto | eagine::math::interpolate_linear (const T &a, const T &b, C coef) |
Linear interpolation between a and b . More... | |
template<typename T , typename C > | |
static auto | eagine::math::lerp (const T &a, const T &b, C coef) |
Same as interpolate_linear. More... | |
template<typename T , typename C > | |
static auto | eagine::math::smooth_lerp (const T &a, const T &b, C coef) |
Linear interpolation with coef transformed by sine_sigmoid01. More... | |
template<typename T , typename C > | |
static auto | eagine::math::smooth_oscillate (const T &a, C coef) |
Smooth interpolation between negative a and a . More... | |
Copyright Matus Chochlik. Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt