QuadPatch
Engine/source/math/mQuadPatch.h
Quadratic spline patch.
Private Types
Parent
Public Functions
setControlPoint(Point3F & point, S32 index)
submitControlPoints(SplCtrlPts & points)
If you have a preconstructed "SplCtrlPts" class, submit it with this function.
Detailed Description
Quadratic spline patch.
This is a special type of spline that only had 3 control points.
see:
Private Types
typedef SplinePatch Parent
Private Attributes
Point3F a
Point3F b
Point3F c
Private Functions
calcABC(const Point3F * points)
Public Functions
QuadPatch()
calc(F32 t, Point3F & result)
Reimplemented from: SplinePatch
calc(Point3F * points, F32 t, Point3F & result)
Reimplemented from: SplinePatch
setControlPoint(Point3F & point, S32 index)
Reimplemented from: SplinePatch
submitControlPoints(SplCtrlPts & points)
Reimplemented from: SplinePatch