RenderWare V2.1

Previous Page Index Next Page

RwV3d *

RwGetSplinePoint(RwSpline *spline, RwInt32 index, RwV3d *point);

Description

Retrieves the specified control point of the spline.

Arguments

spline Pointer to the spline.

index Index of the control point to get, in the range 1 £ index £ total number of control points.

point Pointer to the point that will receive the specified control point.

Return Value

The argument point if successful, and NULL otherwise.

Comments

Note that an index of 1 will retrieve the first control point.

See Also

RwCreateSpline()

RwGetSplineNumPoints()

RwSetSplinePoint()