OGLplus (0.52.0) a C++ wrapper for OpenGL

oglplus::BaseSLERP< Value, T > Class Template Reference

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

Detailed Description

template<typename Value, typename T>
class oglplus::BaseSLERP< Value, T >

Base template for spherical-linear interpolation functors.

BaseSLERP implements the basic sperical-linear implementation for Quaternion or Vector pairs.

Constructor & Destructor Documentation

template<typename Value, typename T>
oglplus::BaseSLERP< Value, T >::BaseSLERP ( const Value &  v1,
const Value &  v2,
T  eps 
)

Constructs a SLERP functor from two values.

Precondition
v1.IsNormal() && v2.IsNormal()

Member Function Documentation

template<typename Value, typename T>
Value oglplus::BaseSLERP< Value, T >::operator() ( T  param) const

Interpolates between the values passed to constructor.

Precondition
(param >= 0) && (param <= 1)

The documentation for this class was generated from the following file:
  • /home/chochlik/devel/oglplus/include/oglplus/math/slerp.hpp

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).