diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2011-08-03 22:45:40 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2011-08-03 22:45:40 (GMT) |
commit | 00d7bb401c0732a5f1b33cd0059a643933286c5d (patch) | |
tree | 98c59f98c0e06f37af2a810b7eb20595334a6abf /src/OpenCSGRenderer.h | |
parent | f78d4f74b2606f3cccff0f241b608cb021a30b9b (diff) |
fix broken build on systems that use case sensitive filenames (linux)
Diffstat (limited to 'src/OpenCSGRenderer.h')
-rw-r--r-- | src/OpenCSGRenderer.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/OpenCSGRenderer.h b/src/OpenCSGRenderer.h new file mode 100644 index 0000000..95ffc8e --- /dev/null +++ b/src/OpenCSGRenderer.h @@ -0,0 +1,24 @@ +#ifndef OPENCSGRENDERER_H_ +#define OPENCSGRENDERER_H_ + +#include "renderer.h" +#include <GL/glew.h> // this must be included before the GL headers +#include <qgl.h> + +class OpenCSGRenderer : public Renderer +{ +public: + OpenCSGRenderer(class CSGChain *root_chain, CSGChain *highlights_chain, + CSGChain *background_chain, GLint *shaderinfo); + void draw(bool showfaces, bool showedges) const; +private: + void renderCSGChain(class CSGChain *chain, GLint *shaderinfo, + bool highlight, bool background) const; + + CSGChain *root_chain; + CSGChain *highlights_chain; + CSGChain *background_chain; + GLint *shaderinfo; +}; + +#endif |