Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 19, 2005, 10:35:26 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: added indexing algorithm and material drawing functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/graphics/spatial_separation/quadtree.h

    r4900 r4901  
    2525  void drawTree(int depth, int drawMode) const;
    2626
     27  Material* getMaterial(int indexNode) { return this->materials[indexNode%4]; }
     28
    2729 private:
    2830   QuadtreeNode*                   rootNode;              //!< reference to the root node of the quadtree
    2931   modelInfo*                      pModelInfo;            //!< reference to the modelInfo of the object
    3032   int                             treeDepth;             //!< depth of the tree
     33
     34   Material**                       materials;            //!< materials for debug drawing purposes
    3135};
    3236
Note: See TracChangeset for help on using the changeset viewer.