|
Blender V4.3
|
#include <patch.h>
Inherits Patch.
Public Member Functions | |
| void | eval (float3 *P, float3 *dPdu, float3 *dPdv, float3 *N, float u, float v) |
| BoundBox | bound () |
Public Member Functions inherited from Patch | |
| Patch () | |
| virtual | ~Patch ()=default |
Public Attributes | |
| float3 | hull [16] |
Public Attributes inherited from Patch | |
| int | patch_index |
| int | shader |
| bool | from_ngon |
Definition at line 39 of file subd/patch.h.
| BoundBox BicubicPatch::bound | ( | ) |
Definition at line 102 of file patch.cpp.
References BoundBox::empty, BoundBox::grow(), and hull.
|
virtual |
Implements Patch.
Definition at line 84 of file patch.cpp.
References cross(), decasteljau_bicubic(), hull, N, normalize(), P, and v.
| float3 BicubicPatch::hull[16] |
Definition at line 41 of file subd/patch.h.