diff options
Diffstat (limited to 'intern/cycles/subd/subd_patch.h')
-rw-r--r-- | intern/cycles/subd/subd_patch.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/intern/cycles/subd/subd_patch.h b/intern/cycles/subd/subd_patch.h index 5209d4d0b07..2e3484f95e3 100644 --- a/intern/cycles/subd/subd_patch.h +++ b/intern/cycles/subd/subd_patch.h @@ -24,18 +24,13 @@ CCL_NAMESPACE_BEGIN class Patch { public: - virtual ~Patch() - { - } + virtual ~Patch() = default; + virtual void eval(float3 *P, float3 *dPdu, float3 *dPdv, float3 *N, float u, float v) = 0; - virtual BoundBox bound() = 0; - virtual int ptex_face_id() - { - return -1; - } int patch_index; int shader; + bool from_ngon; }; /* Linear Quad Patch */ |