Commit 8a4bf35b authored by Tomasz Włostowski's avatar Tomasz Włostowski

math: added OPT_BOX2 type

parent c87b1365
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#include <math/vector2d.h> #include <math/vector2d.h>
#include <limits> #include <limits>
#include <boost/optional.hpp>
/** /**
* Class BOX2 * Class BOX2
...@@ -467,6 +468,8 @@ public: ...@@ -467,6 +468,8 @@ public:
typedef BOX2<VECTOR2I> BOX2I; typedef BOX2<VECTOR2I> BOX2I;
typedef BOX2<VECTOR2D> BOX2D; typedef BOX2<VECTOR2D> BOX2D;
typedef boost::optional<BOX2I> OPT_BOX2I;
// FIXME should be removed to avoid multiple typedefs for the same type // FIXME should be removed to avoid multiple typedefs for the same type
typedef BOX2D DBOX; typedef BOX2D DBOX;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment