RenderWare V2.1

Previous Page Index Next Page

RwSpline *

RwCreateSpline(RwInt32 npoints, RwSplineType type, RwV3d *points);

Description

Creates a new spline.

Arguments

npoints Number of control points (greater than or equal to 4).

type Type of the spline.

points Array of control points.

Return Value

A pointer to the new spline if successful, and NULL otherwise.

Comments

A minimum of 4 control points must be specified.

See Also

RwDestroySpline()

RwDuplicateSpline()