math: added OPT_BOX2 type

This commit is contained in:
Tomasz Włostowski 2015-02-18 00:40:27 +01:00
parent c87b136522
commit 8a4bf35b5b
1 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,7 @@
#include <math/vector2d.h>
#include <limits>
#include <boost/optional.hpp>
/**
* Class BOX2
@ -467,6 +468,8 @@ public:
typedef BOX2<VECTOR2I> BOX2I;
typedef BOX2<VECTOR2D> BOX2D;
typedef boost::optional<BOX2I> OPT_BOX2I;
// FIXME should be removed to avoid multiple typedefs for the same type
typedef BOX2D DBOX;