Base class for spline patches. The only child of this class is QuadPatch.
Spline utility class for drawing nice pretty splines. In order to draw a spline, you need to create a SplCtrlPts data structure, which contains all control points on the spline. See SplCtrlPts for more information on how to submit points to the spline utility. Next, submit the SplCtrlPts structure to the spline utility.
SplinePatch()
Definition mSplinePatch.cc:81
virtual void submitControlPoints(SplCtrlPts &points)
Definition mSplinePatch.h:116
Next, use the SplineUtil namespace to draw your spline.
void drawSplineBeam(const Point3F &camPos, U32 numSegments, F32 width, SplinePatch &spline, F32 uvOffset, F32 numTexRep)
Definition splineUtil.cc:33
You can also create a SplineBeamInfo structure (SplineUtil::SplineBeamInfo) and just pass the SplineBeamInfo structure to the SplineUtil::drawSplineBeam function.
- See also
- SplCtrlPts
-
SplineUtil