Wygładzanie zmiennej
[Math Module]

Classes

class  common::SmoothCD_obj< T >

Functions

template<typename T >
void common::SmoothCD_T (T *InOutPos, const T &Dest, T *InOutVel, float SmoothTime, float TimeDelta)
template<>
void common::SmoothCD_T< float > (float *InOutPos, const float &Dest, float *InOutVel, float SmoothTime, float TimeDelta)
template<>
void common::SmoothCD_T< VEC2 > (VEC2 *InOutPos, const VEC2 &Dest, VEC2 *InOutVel, float SmoothTime, float TimeDelta)
template<>
void common::SmoothCD_T< VEC3 > (VEC3 *InOutPos, const VEC3 &Dest, VEC3 *InOutVel, float SmoothTime, float TimeDelta)

Detailed Description

Funkcja wygładzająca zmianę zmiennej w czasie - SmoothCD. Nakładki na tą funkcję - szablon specjalizowany dla: float, common::VEC2, common::VEC3. Klasa szablonowa enkapsulująca pamiętanie parametrów wygładzania.


Function Documentation

template<typename T >
void common::SmoothCD_T ( T *  InOutPos,
const T &  Dest,
T *  InOutVel,
float  SmoothTime,
float  TimeDelta 
) [inline]
template<>
void common::SmoothCD_T< float > ( float *  InOutPos,
const float &  Dest,
float *  InOutVel,
float  SmoothTime,
float  TimeDelta 
) [inline]
template<>
void common::SmoothCD_T< VEC2 > ( VEC2 *  InOutPos,
const VEC2 &  Dest,
VEC2 *  InOutVel,
float  SmoothTime,
float  TimeDelta 
) [inline]
template<>
void common::SmoothCD_T< VEC3 > ( VEC3 *  InOutPos,
const VEC3 &  Dest,
VEC3 *  InOutVel,
float  SmoothTime,
float  TimeDelta 
) [inline]

Generated on Wed Dec 16 20:44:53 2009 for CommonLib by  doxygen 1.6.1