#include <llinterp.h>
Inheritance diagram for LLInterpAttractor< Type >:
Public Member Functions | |
LLInterpAttractor () | |
void | start () |
void | setStartVel (const Type &vel) |
void | setForce (const F32 force) |
void | update (const F32 time) |
Protected Attributes | |
F32 | mForce |
Type | mStartVel |
Type | mVelocity |
Definition at line 105 of file llinterp.h.
LLInterpAttractor< Type >::LLInterpAttractor | ( | ) |
Definition at line 300 of file llinterp.h.
References LLInterpAttractor< Type >::mForce, LLInterpAttractor< Type >::mStartVel, and LLInterpAttractor< Type >::mVelocity.
void LLInterpAttractor< Type >::setForce | ( | const F32 | force | ) |
void LLInterpAttractor< Type >::setStartVel | ( | const Type & | vel | ) |
void LLInterpAttractor< Type >::start | ( | ) | [virtual] |
Reimplemented from LLInterp< Type >.
Definition at line 308 of file llinterp.h.
References LLInterpAttractor< Type >::mStartVel, LLInterpAttractor< Type >::mVelocity, and LLInterp< Type >::start().
void LLInterpAttractor< Type >::update | ( | const F32 | time | ) |
Reimplemented from LLInterp< Type >.
Definition at line 328 of file llinterp.h.
References LLInterp< Type >::mActive, LLInterp< Type >::mCurTime, LLInterp< Type >::mCurVal, LLInterp< Type >::mDone, LLInterp< Type >::mEndVal, LLInterpAttractor< Type >::mForce, LLInterpAttractor< Type >::mVelocity, and TRUE.
F32 LLInterpAttractor< Type >::mForce [protected] |
Definition at line 114 of file llinterp.h.
Referenced by LLInterpAttractor< Type >::LLInterpAttractor(), LLInterpAttractor< Type >::setForce(), and LLInterpAttractor< Type >::update().
Type LLInterpAttractor< Type >::mStartVel [protected] |
Definition at line 115 of file llinterp.h.
Referenced by LLInterpAttractor< Type >::LLInterpAttractor(), LLInterpAttractor< Type >::setStartVel(), and LLInterpAttractor< Type >::start().
Type LLInterpAttractor< Type >::mVelocity [protected] |
Definition at line 116 of file llinterp.h.
Referenced by LLInterpAttractor< Type >::LLInterpAttractor(), LLInterpAttractor< Type >::start(), and LLInterpAttractor< Type >::update().