Changeset 4904 in orxonox.OLD for orxonox/trunk/src/lib/graphics/spatial_separation
- Timestamp:
- Jul 19, 2005, 11:05:36 PM (19 years ago)
- Location:
- orxonox/trunk/src/lib/graphics/spatial_separation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/spatial_separation/quadtree.h
r4902 r4904 15 15 class QuadtreeNode; 16 16 class Material; 17 class Vector; 17 18 18 19 //! A class for quadtree separation of the world … … 23 24 virtual ~Quadtree(); 24 25 26 QuadtreeNode* getQuadtreeFromPosition(const Vector& position); 27 25 28 void drawTree(int depth, int drawMode) const; 26 27 29 inline Material* getMaterial(int indexNode) const { return this->materials[indexNode % 4]; } 28 30 -
orxonox/trunk/src/lib/graphics/spatial_separation/quadtree_node.h
r4902 r4904 26 26 QuadtreeNode(modelInfo* pModelInfo, Quadtree* quadtree, const int maxDepth); 27 27 virtual ~QuadtreeNode(); 28 29 float getHeight(const Vector& position); 28 30 29 31 void drawTree(int depth, int drawMode) const;
Note: See TracChangeset
for help on using the changeset viewer.