summaryrefslogtreecommitdiff
path: root/src/graphics/shape.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics/shape.h')
-rw-r--r--src/graphics/shape.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/graphics/shape.h b/src/graphics/shape.h
index 3ba81fb..1451c85 100644
--- a/src/graphics/shape.h
+++ b/src/graphics/shape.h
@@ -31,6 +31,8 @@ public:
void setModelMatrix(const Eigen::Affine3f &model);
+ void setColor(float r, float g, float b);
+
void draw(Shader *shader, GLenum mode);
SelectMode select(Shader *shader, int vertex);
bool selectWithSpecifiedMode(Shader *shader, int vertex, SelectMode mode);