QuadPatch

Engine/source/math/mQuadPatch.h

Quadratic spline patch.

More...

Private Types

Parent 

Private Attributes

Private Functions

Public Functions

calc(F32 t, Point3F & result)

Recalc function.

calc(Point3F * points, F32 t, Point3F & result)

Recalc function.

setControlPoint(Point3F & point, S32 index)

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.

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