YAGE  v0.1.3.0
Yet Another Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
rectangle.h
Go to the documentation of this file.
1 #ifndef YAGE_RENDER_RECTANGLE_H
2 #define YAGE_RENDER_RECTANGLE_H
3 
4 #include "shape.h"
5 
6 #include <glm/glm.hpp>
7 
8 namespace yage
9 {
10 
11 class Rectangle : public Shape
12 {
13 public:
14  Rectangle(glm::vec4 position);
15  virtual void render() const;
16 
17 private:
18  glm::vec4 position_;
19 };
20 
21 } // namespace yage
22 
23 #endif
Definition: shape.h:9
virtual void render() const
Definition: rectangle.cpp:14
Definition: rectangle.h:11
Rectangle(glm::vec4 position)
Definition: rectangle.cpp:12