24 #ifndef INCLUDED_NUSPLINE 25 #define INCLUDED_NUSPLINE 27 #define MAX_SPLINE_NODES 128 61 const std::vector<SplineData>& GetAllNodes()
const;
68 std::vector<SplineData>
Node;
98 void RemoveNode(
const int index);
100 void UpdateNodeTime(
const int index,
fixed time);
107 #endif // INCLUDED_NUSPLINE A simple fixed-point number class.
Definition: Fixed.h:115
Describes a node of the spline.
Definition: NUSpline.h:35
fixed Distance
Definition: NUSpline.h:43
Rounded Nonuniform Spline for describing spatial curves or paths with constant speed.
Definition: NUSpline.h:50
Definition: Vector3D.h:28
CVector3D Velocity
Definition: NUSpline.h:39
CFixedVector3D Position
Definition: NUSpline.h:38
int NodeCount
Definition: NUSpline.h:64
Timed Nonuniform Spline for paths with different time intervals between nodes.
Definition: NUSpline.h:91
CFixedVector3D Rotation
Definition: NUSpline.h:41
Definition: FixedVector3D.h:24
Smooth Nonuniform Spline for describing paths with smooth acceleration and deceleration, but without turning.
Definition: NUSpline.h:78
fixed MaxDistance
Definition: NUSpline.h:63
std::vector< SplineData > Node
Definition: NUSpline.h:68
static SVec3 GetPosition(const SMikkTSpaceContext *pContext, const int index)
Definition: mikktspace.cpp:897
static Node * AddNode()
Definition: wnuma.cpp:59