voxelTerrain
 All Classes Functions Variables Typedefs Enumerations Pages
rectangle.hpp
1 #ifndef RECTANGLE_HPP
2 #define RECTANGLE_HPP
3 
4 #include "vector2.hpp"
5 
6 namespace blub
7 {
8 
9 class rectangle
10 {
11 public:
12  vector2 topLeft, rightBottom;
13 
14  rectangle(void);
15  rectangle(const vector2 &topLeft_, const vector2 &rightBottom_);
16 
17  void merge(const rectangle &other);
18  void merge(const vector2 &other);
19 };
20 
21 }
22 
23 #endif // RECTANGLE_HPP
Definition: vector2.hpp:20
Definition: deadlineTimer.hpp:10
Definition: rectangle.hpp:9