OGLplus  (0.59.0) a C++ wrapper for rendering APIs

interpolate.hpp File Reference
#include "constants.hpp"
#include "functions.hpp"

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...
 

Detailed Description

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


Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).