diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2011-02-02 05:07:20 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:11:28 +0300 |
commit | ecd556478208f184cccba01d268dc05c0f393f2d (patch) | |
tree | 00a8418db07a8737aa3831bd45e69f90f10ac447 /geometry/rect2d.hpp | |
parent | b527df97c12289d64d8c5e6949d64bf4a50b0095 (diff) |
Refactored settings engine
Diffstat (limited to 'geometry/rect2d.hpp')
-rw-r--r-- | geometry/rect2d.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/geometry/rect2d.hpp b/geometry/rect2d.hpp index 563d7b849c..16eb0f68f8 100644 --- a/geometry/rect2d.hpp +++ b/geometry/rect2d.hpp @@ -36,6 +36,8 @@ namespace m2 T m_minX, m_minY, m_maxX, m_maxY; public: + typedef T value_type; + Rect() { MakeEmpty(); } Rect(T minX, T minY, T maxX, T maxY) : m_minX(minX), m_minY(minY), m_maxX(maxX), m_maxY(maxY) |