Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
SNSpline Class Reference

Smooth Nonuniform Spline for describing paths with smooth acceleration and deceleration, but without turning. More...

#include <NUSpline.h>

Inheritance diagram for SNSpline:
Collaboration diagram for SNSpline:

Public Member Functions

virtual ~SNSpline ()
 
void BuildSpline ()
 
void Smooth ()
 
- Public Member Functions inherited from RNSpline
 RNSpline ()
 
virtual ~RNSpline ()
 
void AddNode (const CFixedVector3D &pos)
 
void BuildSpline ()
 
CVector3D GetPosition (float time) const
 
CVector3D GetRotation (float time) const
 
const std::vector< SplineData > & GetAllNodes () const
 

Additional Inherited Members

- Public Attributes inherited from RNSpline
fixed MaxDistance
 
int NodeCount
 
- Protected Member Functions inherited from RNSpline
CVector3D GetStartVelocity (int index)
 
CVector3D GetEndVelocity (int index)
 
- Protected Attributes inherited from RNSpline
std::vector< SplineDataNode
 

Detailed Description

Smooth Nonuniform Spline for describing paths with smooth acceleration and deceleration, but without turning.

Constructor & Destructor Documentation

◆ ~SNSpline()

SNSpline::~SNSpline ( )
virtualdefault

Member Function Documentation

◆ BuildSpline()

void SNSpline::BuildSpline ( )

◆ Smooth()

void SNSpline::Smooth ( )

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