worked on 3d models within map
adjusted grid factory adjusted nav mesh factory minoor changes/fixes new helper classes refactoring
This commit is contained in:
@@ -66,6 +66,12 @@ public:
|
||||
Point2 getCenter() const { return (p1+p2) / 2; }
|
||||
|
||||
|
||||
Point2 getCorner1() const {return Point2(p1.x, p1.y);}
|
||||
Point2 getCorner2() const {return Point2(p2.x, p1.y);}
|
||||
Point2 getCorner3() const {return Point2(p1.x, p2.y);}
|
||||
Point2 getCorner4() const {return Point2(p2.x, p2.y);}
|
||||
|
||||
|
||||
/** equal? */
|
||||
bool operator == (const BBox2& o) const {
|
||||
return (p1.x == o.p1.x) &&
|
||||
|
||||
Reference in New Issue
Block a user