24 #ifndef INCLUDED_NUSPLINE 25 #define INCLUDED_NUSPLINE 27 #define MAX_SPLINE_NODES 128 63 const std::vector<SplineData>& GetAllNodes()
const;
70 std::vector<SplineData>
Node;
100 void RemoveNode(
const int index);
102 void UpdateNodeTime(
const int index,
fixed time);
109 #endif // INCLUDED_NUSPLINE A simple fixed-point number class.
Definition: Fixed.h:119
Describes a node of the spline.
Definition: NUSpline.h:37
fixed Distance
Definition: NUSpline.h:45
Rounded Nonuniform Spline for describing spatial curves or paths with constant speed.
Definition: NUSpline.h:52
Definition: Vector3D.h:30
CVector3D Velocity
Definition: NUSpline.h:41
CFixedVector3D Position
Definition: NUSpline.h:40
int NodeCount
Definition: NUSpline.h:66
Timed Nonuniform Spline for paths with different time intervals between nodes.
Definition: NUSpline.h:93
CFixedVector3D Rotation
Definition: NUSpline.h:43
Definition: FixedVector3D.h:24
Smooth Nonuniform Spline for describing paths with smooth acceleration and deceleration, but without turning.
Definition: NUSpline.h:80
fixed MaxDistance
Definition: NUSpline.h:65
std::vector< SplineData > Node
Definition: NUSpline.h:70
static SVec3 GetPosition(const SMikkTSpaceContext *pContext, const int index)
Definition: mikktspace.cpp:898
static Node * AddNode()
Definition: wnuma.cpp:62