Panda3D
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

SimpleLerpFunctor< value > Class Template Reference

Inheritance diagram for SimpleLerpFunctor< value >:
LerpFunctor TypedReferenceCount TypedObject ReferenceCount MemoryBase MemoryBase ColorLerpFunctor ColorScaleLerpFunctor HprLerpFunctor PosLerpFunctor ScaleLerpFunctor SimpleQueryLerpFunctor< value >

List of all members.

Public Member Functions

virtual TypeHandle force_init_type ()
const value & get_end () const
const value & get_start () const
virtual TypeHandle get_type () const
value interpolate (float)
virtual void operator() (float)
SimpleLerpFunctor< value > & operator= (const SimpleLerpFunctor< value > &)

Static Public Member Functions

static TypeHandle get_class_type ()
static void init_type ()
 This function is declared non-inline to work around a compiler bug in g++ 2.96.

Protected Member Functions

 SimpleLerpFunctor (value start, value end)
 SimpleLerpFunctor (const SimpleLerpFunctor< value > &)

Protected Attributes

value _diff_cache
value _end
value _start

Detailed Description

template<class value>
class SimpleLerpFunctor< value >

Definition at line 52 of file lerpfunctor.h.


Member Function Documentation

template<class value>
static void SimpleLerpFunctor< value >::init_type ( ) [inline, static]

This function is declared non-inline to work around a compiler bug in g++ 2.96.

Making it inline seems to cause problems in the optimizer.

Reimplemented from LerpFunctor.

Reimplemented in SimpleQueryLerpFunctor< value >, PosLerpFunctor, HprLerpFunctor, ScaleLerpFunctor, ColorLerpFunctor, and ColorScaleLerpFunctor.

Definition at line 76 of file lerpfunctor.h.

Referenced by ColorScaleLerpFunctor::init_type(), ColorLerpFunctor::init_type(), ScaleLerpFunctor::init_type(), HprLerpFunctor::init_type(), and PosLerpFunctor::init_type().


The documentation for this class was generated from the following file:
 All Classes Functions Variables Enumerations