diff options
author | Marius Kintel <marius@kintel.net> | 2013-05-24 22:40:09 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-05-24 22:40:09 (GMT) |
commit | e1766faeeda4218a453121ec81f8007cc1a1734d (patch) | |
tree | 409e8ae7f7fb2065499cf44b038497b6a5daf689 /src/renderer.h | |
parent | ef9d8a853be1a6d6ca48239fcc79106ba374ee21 (diff) |
Initial implementation of improved operator handling. Provides the bulk of work for #304
Diffstat (limited to 'src/renderer.h')
-rw-r--r-- | src/renderer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/renderer.h b/src/renderer.h index 24c1d94..f70b4e1 100644 --- a/src/renderer.h +++ b/src/renderer.h @@ -2,6 +2,7 @@ #define RENDERER_H_ #include "system-gl.h" +#include "linalg.h" #ifdef _MSC_VER // NULL #include <cstdlib> @@ -25,6 +26,7 @@ public: COLORMODE_BACKGROUND_EDGES }; + virtual bool getColor(ColorMode colormode, Color4f &col) const; virtual void setColor(const float color[4], GLint *shaderinfo = NULL) const; virtual void setColor(ColorMode colormode, GLint *shaderinfo = NULL) const; virtual void setColor(ColorMode colormode, const float color[4], GLint *shaderinfo = NULL) const; |