Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Rounded Nonuniform Spline for describing spatial curves or paths with constant speed. More...
#include <NUSpline.h>
Public Member Functions | |
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 |
Public Attributes | |
fixed | MaxDistance |
int | NodeCount |
Protected Member Functions | |
CVector3D | GetStartVelocity (int index) |
CVector3D | GetEndVelocity (int index) |
Protected Attributes | |
std::vector< SplineData > | Node |
Rounded Nonuniform Spline for describing spatial curves or paths with constant speed.
RNSpline::RNSpline | ( | ) |
|
virtualdefault |
void RNSpline::AddNode | ( | const CFixedVector3D & | pos | ) |
void RNSpline::BuildSpline | ( | ) |
const std::vector< SplineData > & RNSpline::GetAllNodes | ( | ) | const |
|
protected |
CVector3D RNSpline::GetPosition | ( | float | time | ) | const |
CVector3D RNSpline::GetRotation | ( | float | time | ) | const |
|
protected |
fixed RNSpline::MaxDistance |
|
protected |
int RNSpline::NodeCount |