|
Blender V5.0
|
#include <patch.h>
Inherited by BicubicPatch, and LinearQuadPatch.
Public Member Functions | |
| Patch ()=default | |
| virtual | ~Patch ()=default |
| virtual void | eval (float3 *P, float3 *dPdu, float3 *dPdv, float3 *N, const float u, float v) const =0 |
Public Attributes | |
| int | patch_index = 0 |
| int | shader = 0 |
| bool | smooth = true |
| bool | from_ngon = false |
|
default |
|
virtualdefault |
|
pure virtual |
Implemented in BicubicPatch, and LinearQuadPatch.
Referenced by EdgeDice::eval_projected(), and EdgeDice::set_vertex().
| bool Patch::from_ngon = false |
Definition at line 23 of file patch.h.
Referenced by Mesh::tessellate().
| int Patch::patch_index = 0 |
Definition at line 20 of file patch.h.
Referenced by EdgeDice::set_triangle(), EdgeDice::set_vertex(), and Mesh::tessellate().
| int Patch::shader = 0 |
Definition at line 21 of file patch.h.
Referenced by EdgeDice::set_triangle(), and Mesh::tessellate().
| bool Patch::smooth = true |
Definition at line 22 of file patch.h.
Referenced by EdgeDice::set_triangle(), and Mesh::tessellate().