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:
2018-04-03 14:55:59 +02:00
parent f3b6155157
commit 1c2081d406
25 changed files with 620 additions and 93 deletions

View File

@@ -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) &&