Blender
V3.3
|
#include <patch.h>
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 12 of file subd/patch.h.
|
inline |
Definition at line 14 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 24 of file subd/patch.h.
Referenced by Mesh::tessellate().
int Patch::patch_index |
Definition at line 22 of file subd/patch.h.
Referenced by EdgeDice::add_triangle(), and Mesh::tessellate().
int Patch::shader |
Definition at line 23 of file subd/patch.h.
Referenced by EdgeDice::add_triangle(), and Mesh::tessellate().