RenderWare V2.1

Previous Page Index Next Page

RwSpline *

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

Description

Sets the specified control point of the spline.

Arguments

spline Pointer to the spline.

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

point Pointer to the new control point of the spline.

Return Value

The argument spline if successful, and NULL otherwise.

Comments

Note that passing 1 as the value of argument index will set the first control point.

See Also

RwCreateSpline()

RwGetSplineNumPoints()

RwGetSplinePoint()