![]() TGE Version 1.5.2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SplinePatch Class Reference#include <mSplinePatch.h>
Inheritance diagram for SplinePatch: ![]() Detailed DescriptionBase 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 patch; patch.submitControlPoints(ctrlPts); SplineUtil::drawSplineBeam(camPos, numSegments, width, patch[, uvOffset, numTexRep]); You can also create a SplineBeamInfo structure (SplineUtil::SplineBeamInfo) and just pass the SplineBeamInfo structure to the SplineUtil::drawSplineBeam function.
Constructor & Destructor Documentation
Member Function Documentation
Reimplemented in QuadPatch.
If you have a preconstructed "SplCtrlPts" class, submit it with this function.
Reimplemented in QuadPatch. Recalc function. Do not call this ever - only SplineUtil needs this.
Implemented in QuadPatch. Recalc function. Do not call this ever - only SplineUtil needs this.
Implemented in QuadPatch.
Field Documentation
|