|
glVertex
5.5.2
|
bezier surface patch More...
#include <glvertex_bezier.h>
Public Member Functions | |
| vec3 | evaluate (double u, double v) const |
| evaluate the surface patch | |
| vec3 | gradient (double u, double v, double d=0.001) const |
| evaluate the gradient of the surface patch | |
| vec3 | normal (double u, double v, double d=0.001) const |
| compute the normal of the surface patch | |
| void | alignPatches (lgl_BezierPatch *left, lgl_BezierPatch *right, lgl_BezierPatch *bottom, lgl_BezierPatch *top, lgl_BezierPatch *leftbottom, lgl_BezierPatch *rightbottom, lgl_BezierPatch *lefttop, lgl_BezierPatch *righttop, double factor=(sqrt(2.0) -1) *4/3) |
| auto-align the control points of the surface patch | |
| void | translate (vec3 v) |
| translate patch | |
| void | rotate (quat q) |
| rotate patch | |
| void | scale (vec3 s) |
| scale patch | |
| void | rotate (double angle, vec3 axis) |
| rotate patch | |
bezier surface patch
1.8.17