LLInterpLinear< Type > Class Template Reference

#include <llinterp.h>

Inheritance diagram for LLInterpLinear< Type >:

Inheritance graph
[legend]
Collaboration diagram for LLInterpLinear< Type >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void start ()
void update (const F32 time)
F32 getCurFrac () const

Protected Attributes

F32 mCurFrac

Detailed Description

template<typename Type>
class LLInterpLinear< Type >

Definition at line 86 of file llinterp.h.


Member Function Documentation

template<class Type>
F32 LLInterpLinear< Type >::getCurFrac (  )  const

Definition at line 287 of file llinterp.h.

References LLInterpLinear< Type >::mCurFrac.

Referenced by LLHUDEffectBeam::render().

template<typename Type>
void LLInterpLinear< Type >::start (  )  [virtual]

Reimplemented from LLInterp< Type >.

Definition at line 241 of file llinterp.h.

References LLInterpLinear< Type >::mCurFrac, and LLInterp< Type >::start().

Referenced by LLHUDEffectBeam::LLHUDEffectBeam(), LLHUDEffectBeam::setSourceObject(), and LLHUDEffectBeam::setupParticle().

template<typename Type>
void LLInterpLinear< Type >::update ( const F32  time  ) 

Reimplemented from LLInterp< Type >.

Reimplemented in LLInterpExp< Type >.

Definition at line 248 of file llinterp.h.

References f, llmax(), llmin(), LLInterp< Type >::mActive, LLInterpLinear< Type >::mCurFrac, LLInterp< Type >::mCurTime, LLInterp< Type >::mCurVal, LLInterp< Type >::mDone, LLInterp< Type >::mEndVal, LLInterp< Type >::mStartTime, LLInterp< Type >::mStartVal, and TRUE.


Member Data Documentation

template<typename Type>
F32 LLInterpLinear< Type >::mCurFrac [protected]

Definition at line 93 of file llinterp.h.

Referenced by LLInterpLinear< Type >::getCurFrac(), LLInterpLinear< Type >::start(), LLInterpExp< Type >::update(), and LLInterpLinear< Type >::update().


The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:11:25 2010 for Second Life Viewer by  doxygen 1.4.7