Base template for spherical-linear interpolation functors. More...
#include </home/chochlik/devel/oglplus/include/oglplus/math/slerp.hpp>
Public Member Functions | |
BaseSLERP (const Value &v1, const Value &v2, T eps) | |
Constructs a SLERP functor from two values. More... | |
Value | operator() (T param) const |
Interpolates between the values passed to constructor. More... | |
Base template for spherical-linear interpolation functors.
BaseSLERP implements the basic sperical-linear implementation for Quaternion or Vector pairs.
oglplus::BaseSLERP< Value, T >::BaseSLERP | ( | const Value & | v1, |
const Value & | v2, | ||
T | eps | ||
) |
Constructs a SLERP functor from two values.
Value oglplus::BaseSLERP< Value, T >::operator() | ( | T | param | ) | const |
Interpolates between the values passed to constructor.