|
Blender
V2.93
|
#include <subd_patch.h>
Inherited by BicubicPatch, and LinearQuadPatch.
Public Member Functions | |
| Patch () | |
| virtual | ~Patch ()=default |
| virtual void | eval (float3 *P, float3 *dPdu, float3 *dPdv, float3 *N, float u, float v)=0 |
Public Attributes | |
| int | patch_index |
| int | shader |
| bool | from_ngon |
Definition at line 25 of file subd_patch.h.
|
inline |
Definition at line 27 of file subd_patch.h.
|
virtualdefault |
|
pure virtual |
Implemented in BicubicPatch, and LinearQuadPatch.
Referenced by QuadDice::eval_projected(), and EdgeDice::set_vert().
| bool Patch::from_ngon |
Definition at line 37 of file subd_patch.h.
Referenced by Mesh::tessellate().
| int Patch::patch_index |
Definition at line 35 of file subd_patch.h.
Referenced by EdgeDice::add_triangle(), and Mesh::tessellate().
| int Patch::shader |
Definition at line 36 of file subd_patch.h.
Referenced by EdgeDice::add_triangle(), and Mesh::tessellate().