summaryrefslogtreecommitdiff
path: root/src/polyset.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/polyset.h')
-rw-r--r--src/polyset.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/polyset.h b/src/polyset.h
index 8f23130..c59d86a 100644
--- a/src/polyset.h
+++ b/src/polyset.h
@@ -24,6 +24,7 @@ public:
PolySet();
~PolySet();
+ bool empty() const { return polygons.size() == 0; }
void append_poly();
void append_vertex(double x, double y, double z = 0.0);
void insert_vertex(double x, double y, double z = 0.0);
@@ -50,10 +51,6 @@ public:
void render_surface(colormode_e colormode, csgmode_e csgmode, double *m, GLint *shaderinfo = NULL) const;
void render_edges(colormode_e colormode, csgmode_e csgmode) const;
-
- int refcount;
- PolySet *link();
- void unlink();
};
#endif
contact: Jan Huwald // Impressum