aboutsummaryrefslogtreecommitdiffstats
path: root/yage/render/rectangle.h
diff options
context:
space:
mode:
Diffstat (limited to 'yage/render/rectangle.h')
-rw-r--r--yage/render/rectangle.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/yage/render/rectangle.h b/yage/render/rectangle.h
index 11df8a18..ad38caa5 100644
--- a/yage/render/rectangle.h
+++ b/yage/render/rectangle.h
@@ -3,11 +3,19 @@
#include "shape.h"
-namespace yage {
+#include <glm/glm.hpp>
-class Rectangle
+namespace yage
{
+
+class Rectangle : public Shape
+{
+public:
+ Rectangle(glm::vec4 position);
virtual void render() const;
+
+private:
+ glm::vec4 position_;
};
} // namespace yage