Changeset 4902 in orxonox.OLD for orxonox/trunk/src/lib/graphics/spatial_separation/quadtree.h
- Timestamp:
- Jul 19, 2005, 10:44:16 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/spatial_separation/quadtree.h
r4901 r4902 25 25 void drawTree(int depth, int drawMode) const; 26 26 27 Material* getMaterial(int indexNode) { return this->materials[indexNode%4]; }27 inline Material* getMaterial(int indexNode) const { return this->materials[indexNode % 4]; } 28 28 29 29 private: … … 32 32 int treeDepth; //!< depth of the tree 33 33 34 Material** materials;//!< materials for debug drawing purposes34 Material** materials; //!< materials for debug drawing purposes 35 35 }; 36 36
Note: See TracChangeset
for help on using the changeset viewer.