Blender
V3.3
|
#include <patch.h>
Public Member Functions | |
void | eval (float3 *P, float3 *dPdu, float3 *dPdv, float3 *N, float u, float v) |
BoundBox | bound () |
![]() | |
Patch () | |
virtual | ~Patch ()=default |
Public Attributes | |
float3 | hull [4] |
float3 | normals [4] |
![]() | |
int | patch_index |
int | shader |
bool | from_ngon |
Definition at line 29 of file subd/patch.h.
BoundBox LinearQuadPatch::bound | ( | ) |
Definition at line 68 of file patch.cpp.
References BoundBox::empty, BoundBox::grow(), and hull.
float3 LinearQuadPatch::hull[4] |
Definition at line 31 of file subd/patch.h.
Referenced by bound(), eval(), and Mesh::tessellate().
float3 LinearQuadPatch::normals[4] |
Definition at line 32 of file subd/patch.h.
Referenced by eval(), and Mesh::tessellate().