aboutsummaryrefslogtreecommitdiffstats
path: root/yage/render/rectangle.h
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-01-06 11:30:24 +0000
committerYann Herklotz <ymherklotz@gmail.com>2018-01-06 11:30:24 +0000
commitc7090180503f263c60ec34844992e0e8d4bea85a (patch)
tree6ecc5b2e16856db49de056738b36e1ba103d3049 /yage/render/rectangle.h
parentcf4c73f2a75b470a4d4c4167105f92bc46f1926c (diff)
parent07012cf0982d3f86aebe83b5bdc4a67332c635da (diff)
downloadYAGE-c7090180503f263c60ec34844992e0e8d4bea85a.tar.gz
YAGE-c7090180503f263c60ec34844992e0e8d4bea85a.zip
Merge branch 'develop'
Diffstat (limited to 'yage/render/rectangle.h')
-rw-r--r--yage/render/rectangle.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/yage/render/rectangle.h b/yage/render/rectangle.h
new file mode 100644
index 00000000..ad38caa5
--- /dev/null
+++ b/yage/render/rectangle.h
@@ -0,0 +1,23 @@
+#ifndef YAGE_RENDER_RECTANGLE_H
+#define YAGE_RENDER_RECTANGLE_H
+
+#include "shape.h"
+
+#include <glm/glm.hpp>
+
+namespace yage
+{
+
+class Rectangle : public Shape
+{
+public:
+ Rectangle(glm::vec4 position);
+ virtual void render() const;
+
+private:
+ glm::vec4 position_;
+};
+
+} // namespace yage
+
+#endif