From b4d03c4d8f6d25faccad1e3e763deaa29d540be0 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Fri, 9 Jul 2010 00:49:10 +0200 Subject: doc diff --git a/src/node.h b/src/node.h index 083aa91..17ae72b 100644 --- a/src/node.h +++ b/src/node.h @@ -82,6 +82,9 @@ public: RENDER_CGAL, RENDER_OPENCSG }; + /*! Should return a PolySet of the given geometry. It's normal to return an + empty PolySet if smth. is wrong, but don't return NULL unless we change the calling + strategy for this method. */ virtual class PolySet *render_polyset(render_mode_e mode) const = 0; virtual CSGTerm *render_csg_term(double m[20], QVector *highlights, QVector *background) const; static CSGTerm *render_csg_term_from_ps(double m[20], QVector *highlights, QVector *background, PolySet *ps, const ModuleInstantiation *modinst, int idx); -- cgit v0.10.1