summaryrefslogtreecommitdiff
path: root/src/throwntogetherrenderer.h
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2011-08-03 21:37:51 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2011-08-03 21:37:51 (GMT)
commitf78d4f74b2606f3cccff0f241b608cb021a30b9b (patch)
tree6d61969163630b4ac88011eddb1894c65d768c78 /src/throwntogetherrenderer.h
parent5aec712746eeac2e3bdf2501a7473bcac9777690 (diff)
parenta35c801eec98803bf21d0d6c8d2748f0d9ccd507 (diff)
Merge remote branch 'upstream/master'
Diffstat (limited to 'src/throwntogetherrenderer.h')
-rw-r--r--src/throwntogetherrenderer.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/throwntogetherrenderer.h b/src/throwntogetherrenderer.h
new file mode 100644
index 0000000..09d13f3
--- /dev/null
+++ b/src/throwntogetherrenderer.h
@@ -0,0 +1,21 @@
+#ifndef THROWNTOGETHERRENDERER_H_
+#define THROWNTOGETHERRENDERER_H_
+
+#include "renderer.h"
+
+class ThrownTogetherRenderer : public Renderer
+{
+public:
+ ThrownTogetherRenderer(class CSGChain *root_chain,
+ CSGChain *highlights_chain, CSGChain *background_chain);
+ void draw(bool showfaces, bool showedges) const;
+private:
+ void renderCSGChain(CSGChain *chain, bool highlight, bool background, bool showedges,
+ bool fberror) const;
+
+ CSGChain *root_chain;
+ CSGChain *highlights_chain;
+ CSGChain *background_chain;
+};
+
+#endif
contact: Jan Huwald // Impressum