OGLplus
(0.59.0)
a C++ wrapper for rendering APIs
oglplus
math
interpolate.hpp
Go to the documentation of this file.
1
#ifndef OGLPLUS_MATH_INTERPOLATE_HPP
9
#define OGLPLUS_MATH_INTERPOLATE_HPP
10
11
#include <
eagine/math/interpolate.hpp
>
12
13
namespace
eagine::oglp {
14
17
using
math::smooth_lerp
;
18
21
using
math::smooth_oscillate
;
22
23
}
// namespace eagine::oglp
24
25
#endif // OGLPLUS_MATH_INTERPOLATE_HPP
eagine::math::smooth_lerp
static auto smooth_lerp(const T &a, const T &b, C coef)
Linear interpolation with coef transformed by sine_sigmoid01.
Definition:
interpolate.hpp:42
interpolate.hpp
eagine::math::smooth_oscillate
static auto smooth_oscillate(const T &a, C coef)
Smooth interpolation between negative a and a.
Definition:
interpolate.hpp:50
Copyright © 2015-2021
Matúš Chochlík
.
<
chochlik -at -gmail.com
>
Documentation generated on Tue Apr 13 2021 by
Doxygen
(version 1.8.17).