Planeshift
Public Member Functions | Protected Member Functions

psLinearPath Class Reference

#include <pspath.h>

List of all members.

Public Member Functions

 psLinearPath (csString name, Waypoint *wp1, Waypoint *wp2, psString flagStr)
 psLinearPath (int pathID, csString name, psString flagStr)
virtual ~psLinearPath ()

Protected Member Functions

virtual void GetInterpolatedForward (int index, float fraction, csVector3 &forward)
 Get the interpolated forward vector.
virtual void GetInterpolatedPosition (int index, float fraction, csVector3 &pos)
 Get the interpolated position.
virtual void GetInterpolatedUp (int index, float fraction, csVector3 &up)
 Get the interpolated up vector.
virtual void PrecalculatePath (psWorld *world, iEngine *engine)
 Do the actual precalculate work.

Detailed Description

Definition at line 323 of file pspath.h.


Constructor & Destructor Documentation

psLinearPath::psLinearPath ( csString  name,
Waypoint wp1,
Waypoint wp2,
psString  flagStr 
)
psLinearPath::psLinearPath ( int  pathID,
csString  name,
psString  flagStr 
)
virtual psLinearPath::~psLinearPath ( ) [inline, virtual]

Definition at line 328 of file pspath.h.


Member Function Documentation

virtual void psLinearPath::GetInterpolatedForward ( int  index,
float  fraction,
csVector3 &  forward 
) [protected, virtual]

Get the interpolated forward vector.

Implements psPath.

virtual void psLinearPath::GetInterpolatedPosition ( int  index,
float  fraction,
csVector3 &  pos 
) [protected, virtual]

Get the interpolated position.

Implements psPath.

virtual void psLinearPath::GetInterpolatedUp ( int  index,
float  fraction,
csVector3 &  up 
) [protected, virtual]

Get the interpolated up vector.

Implements psPath.

virtual void psLinearPath::PrecalculatePath ( psWorld world,
iEngine *  engine 
) [protected, virtual]

Do the actual precalculate work.

Implements psPath.


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