summaryrefslogtreecommitdiff
path: root/src/polyset.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-12-11 22:45:14 (GMT)
committerMarius Kintel <marius@kintel.net>2011-12-11 22:45:14 (GMT)
commit9ed8d9a6732e1eea0265ff84917278a82d81e2dd (patch)
tree6322830c95d70b2310b45c7008cfd4dac6d4bf31 /src/polyset.h
parent647fdf5f98f6337955972375a17837aede922988 (diff)
Some small refactoring of color handling to support using the color() module to change only alpha
Diffstat (limited to 'src/polyset.h')
-rw-r--r--src/polyset.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/polyset.h b/src/polyset.h
index 57f5057..5698621 100644
--- a/src/polyset.h
+++ b/src/polyset.h
@@ -27,14 +27,6 @@ public:
BoundingBox getBoundingBox() const;
- enum colormode_e {
- COLORMODE_NONE,
- COLORMODE_MATERIAL,
- COLORMODE_CUTOUT,
- COLORMODE_HIGHLIGHT,
- COLORMODE_BACKGROUND
- };
-
enum csgmode_e {
CSGMODE_NONE,
CSGMODE_NORMAL = 1,
@@ -45,8 +37,8 @@ public:
CSGMODE_HIGHLIGHT_DIFFERENCE = 22
};
- void render_surface(colormode_e colormode, csgmode_e csgmode, const Transform3d &m, GLint *shaderinfo = NULL) const;
- void render_edges(colormode_e colormode, csgmode_e csgmode) const;
+ void render_surface(csgmode_e csgmode, const Transform3d &m, GLint *shaderinfo = NULL) const;
+ void render_edges(csgmode_e csgmode) const;
};
#endif
contact: Jan Huwald // Impressum