diff options
author | Sebastian Park <SebPark03@gmail.com> | 2024-04-10 02:51:43 -0400 |
---|---|---|
committer | Sebastian Park <SebPark03@gmail.com> | 2024-04-10 02:51:43 -0400 |
commit | 0b0629450e2553b2f890094290528b565d607e38 (patch) | |
tree | 16d34a6123f3e50153b5fcd6466de5057cc960a0 /src/graphics/shape.h | |
parent | ad313dcf57437ec0d40dddbce622a11c2bc2bc23 (diff) | |
parent | 47cd8a592ecad52c1b01f27d23476c0a5afeb7f1 (diff) |
Merge branch 'shaders'
Diffstat (limited to 'src/graphics/shape.h')
-rw-r--r-- | src/graphics/shape.h | 2 |
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); |