|
0.12.0
|
|
Freundlich's C++ toolkit |
Contains interpolation functions and functors. More...
Classes | |
| struct | linear_functor |
| struct | perlin_fifth_degree_functor |
| struct | trigonometric_functor |
Functions | |
| template<typename Float , typename Value > | |
| boost::enable_if_c < boost::is_floating_point < Float >::value, Value const > ::type | linear (Float const &f, Value const &v1, Value const &v2) |
| template<typename Float , typename Value > | |
| boost::enable_if_c < boost::is_floating_point < Float >::value, Value const > ::type | perlin_fifth_degree (Float const &f, Value const &v1, Value const &v2) |
| template<typename Float , typename Value > | |
| boost::enable_if_c < boost::is_floating_point < Float >::value, Value const > ::type | trigonometric (Float const &f, Value const &v1, Value const &v2) |
Contains interpolation functions and functors.
| boost::enable_if_c< boost::is_floating_point<Float>::value, Value const>::type fcppt::math::interpolation::linear | ( | Float const & | f, |
| Value const & | v1, | ||
| Value const & | v2 | ||
| ) |
Interpolates between a and b (works only with a floating point parameter)
| boost::enable_if_c< boost::is_floating_point<Float>::value, Value const>::type fcppt::math::interpolation::perlin_fifth_degree | ( | Float const & | f, |
| Value const & | v1, | ||
| Value const & | v2 | ||
| ) |
Interpolates between a and b (works only with a floating point parameter)
| boost::enable_if_c< boost::is_floating_point<Float>::value, Value const>::type fcppt::math::interpolation::trigonometric | ( | Float const & | f, |
| Value const & | v1, | ||
| Value const & | v2 | ||
| ) |
Interpolates between a and b (works only with a floating point parameter)
1.8.2