diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-12-27 19:21:12 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-12-27 19:21:12 +0000 |
commit | 354d7df4d2779ed7391701d1ef4344e959b64582 (patch) | |
tree | 81ecdc8d323cae78a86fb9c99524f57c705eeabc /yage/render/rectangle.h | |
parent | f949692714e72a0e2d45ebb6a5d698424ab71dee (diff) | |
download | YAGE-354d7df4d2779ed7391701d1ef4344e959b64582.tar.gz YAGE-354d7df4d2779ed7391701d1ef4344e959b64582.zip |
[Broken] Texture is black.
Diffstat (limited to 'yage/render/rectangle.h')
-rw-r--r-- | yage/render/rectangle.h | 12 |
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 |