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 
9 #ifndef YAGE_RENDER_RECTANGLE_H
10 #define YAGE_RENDER_RECTANGLE_H
11 
12 #include "shape.h"
13 
14 #include <glm/glm.hpp>
15 
16 namespace yage
17 {
18 
19 class Rectangle : public Shape
20 {
21 public:
22  Rectangle(glm::vec4 position);
23  virtual void render() const;
24 
25 private:
26  glm::vec4 position_;
27 };
28 
29 } // namespace yage
30 
31 #endif
Definition: shape.h:17
virtual void render() const
Definition: rectangle.cpp:22
Definition: rectangle.h:19
Rectangle(glm::vec4 position)
Definition: rectangle.cpp:20