Changeset 4956 in orxonox.OLD for orxonox/trunk/src/lib/graphics/spatial_separation/quadtree_node.h
- Timestamp:
- Jul 25, 2005, 9:01:08 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/spatial_separation/quadtree_node.h
r4929 r4956 36 36 37 37 void buildHashTable(QuadtreeNode** nodeList, int* index); 38 inline Rectangle* getDimension() { return this->pDimension; } 39 38 40 bool includesPoint(const Vector& v); 39 sTriangleExt* getTriangle(const Vector& position) ;40 float getHeight(const Vector& position) ;41 inline Rectangle* getDimension() { return this->pDimension; } 41 sTriangleExt* getTriangle(const Vector& position) const; 42 float getHeight(const Vector& position) const; 43 42 44 43 45 void drawTree() const; … … 52 54 Rectangle* getDimFromModel(); 53 55 54 bool sameSide(const Vector& p1, const Vector&p2, const Vector& a, const Vector& b) ;55 bool pointInTriangle(const Vector&p, const Vector& a, const Vector& b, const Vector& c) ;56 bool sameSide(const Vector& p1, const Vector&p2, const Vector& a, const Vector& b) const; 57 bool pointInTriangle(const Vector&p, const Vector& a, const Vector& b, const Vector& c) const; 56 58 57 59 protected:
Note: See TracChangeset
for help on using the changeset viewer.