RenderWare V2.1

Previous Page Index Next Page

RwV3d *

RwSplinePoint(RwSpline *spline, RwSplinePath path, RwReal where, RwV3d *point, RwV3d *vector);

Description

Calculates a point and vector for a position on the spline specified by parameter where.

Arguments

spline Pointer to the spline.

path Type of curve distribution.

where Relative distance along the spline in the range CREAL(0.0) to CREAL(1.0).

point Pointer to the point that will receive the spline location point.

vector Pointer to the vector that will receive the spline tangent vector.

Return Value

The argument point if successful, and NULL otherwise.

Comments

Note that if a vector is not needed, NULL can be passed as the value of parameter vector.

See Also

RwCreateSpline()

RwSetSplinePoint()