JK2eA
 All Classes Functions Variables
Public Member Functions
CControllerPriorityMixerSlerp< CntType > Class Template Reference

#include <ControllerPriorityMixerSlerp.h>

Inheritance diagram for CControllerPriorityMixerSlerp< CntType >:
Inheritance graph
[legend]
Collaboration diagram for CControllerPriorityMixerSlerp< CntType >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CControllerPriorityMixerSlerp (const std::string &name)
virtual ~CControllerPriorityMixerSlerp (void)
virtual void Update (float dt)
 CNTRL_CLASS_NAME (CControllerMixer)

Detailed Description

template<class CntType>
class CControllerPriorityMixerSlerp< CntType >

Vsechny zaregistrovane controllery jsou serazeny podle priority.
Pro michani se pouziva SLERP. Pouze pro kvaterniony.

CntType = typ controlleru


Constructor & Destructor Documentation

template<class CntType >
CControllerPriorityMixerSlerp< CntType >::CControllerPriorityMixerSlerp ( const std::string &  name)

Konstruktor

Parameters:
namenazev controlleru
template<class CntType >
CControllerPriorityMixerSlerp< CntType >::~CControllerPriorityMixerSlerp ( void  ) [virtual]

Destruktor


Member Function Documentation

template<class CntType >
void CControllerPriorityMixerSlerp< CntType >::Update ( float  dt) [virtual]

Aktualizace controlleru, u vsech controlleru se zavola update a takto nove vznikle hodnoty parametru smichaji sferickou interpolaci.
Pouziva se zbyvajici vaha, ktera se na zacatku rovna 1 a postupne jak se zprocovavaji controllery se od ni odecita vaha daneho
controlleru. Pokud je vaha = 0, update metoda konci a to i kdyby nebyly zpracovany vsechny controllery.

Parameters:
dt

Reimplemented from CControllerPriorityMixer< CntType, vec4 >.


The documentation for this class was generated from the following file: