Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Smooth Nonuniform Spline for describing paths with smooth acceleration and deceleration, but without turning. More...
#include <NUSpline.h>
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< SplineData > | Node |
Smooth Nonuniform Spline for describing paths with smooth acceleration and deceleration, but without turning.
|
virtualdefault |
void SNSpline::BuildSpline | ( | ) |
void SNSpline::Smooth | ( | ) |