Torque2D Reference
|
#include <mQuadPatch.h>
Public Member Functions | |
QuadPatch () | |
virtual void | calc (F32 t, Point3F &result) |
virtual void | calc (Point3F *points, F32 t, Point3F &result) |
virtual void | setControlPoint (Point3F &point, int index) |
virtual void | submitControlPoints (SplCtrlPts &points) |
![]() | |
SplinePatch () | |
U32 | getNumReqControlPoints () |
const SplCtrlPts * | getControlPoints () |
const Point3F * | getControlPoint (U32 index) |
Additional Inherited Members | |
![]() | |
void | setNumReqControlPoints (U32 numPts) |
Quadratic spline patch. This is a special type of spline that only had 3 control points.
QuadPatch | ( | ) |
|
virtual |
Recalc function. Do not call this ever - only SplineUtil needs this.
Implements SplinePatch.
Recalc function. Do not call this ever - only SplineUtil needs this.
Implements SplinePatch.
|
virtual |
Reimplemented from SplinePatch.
|
virtual |
If you have a preconstructed "SplCtrlPts" class, submit it with this function.
Reimplemented from SplinePatch.