summaryrefslogtreecommitdiff
path: root/src/CGAL_renderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/CGAL_renderer.h')
-rw-r--r--src/CGAL_renderer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CGAL_renderer.h b/src/CGAL_renderer.h
index a2b3b72..b5709b8 100644
--- a/src/CGAL_renderer.h
+++ b/src/CGAL_renderer.h
@@ -58,7 +58,6 @@ public:
CGAL_NEF3_UNMARKED_FACET_COLOR,
NUM_COLORS
};
- CGAL::Color colors[NUM_COLORS];
void draw(bool showedges) const {
if(this->style == SNC_BOUNDARY) {
@@ -94,7 +93,8 @@ public:
assert(color_index < Polyhedron::NUM_COLORS);
this->colors[color_index] = CGAL::Color(r,g,b);
}
-
+private:
+ CGAL::Color colors[NUM_COLORS];
}; // Polyhedron
contact: Jan Huwald // Impressum