Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4811 in orxonox.OLD for orxonox/trunk/src/lib


Ignore:
Timestamp:
Jul 7, 2005, 2:25:34 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: some quadtree additions and changelog entries

Location:
orxonox/trunk/src/lib/graphics/spatial_separation
Files:
2 edited

Legend:

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

    r4810 r4811  
    2121  virtual ~Quadtree();
    2222
     23  void drawTree(int depth, int drawMode) const;
    2324
    2425 private:
    25    QuadtreeNode*                   rootNode;
    26 
     26   QuadtreeNode*                   rootNode;              //!< reference to the root node of the quadtree
     27   modelInfo*                      pModelInfo;            //!< reference to the modelInfo of the object
    2728
    2829};
  • orxonox/trunk/src/lib/graphics/spatial_separation/quadtree_node.h

    r4810 r4811  
    1010#include "base_object.h"
    1111#include "vector.h"
     12
    1213// FORWARD DEFINITION
    13 
    1414class QuadtreeNode;
    1515
     
    2727   float                           maxHeigth;          //!< max height of the model in the quadtree
    2828
     29   sTriangleExt*                   triangles;
     30   unsigned int                    numTriangles;
     31
    2932   QuadtreeNode*                   nodeA;              //!< reference to the node A
    3033   QuadtreeNode*                   nodeB;              //!< reference to the node B
    3134   QuadtreeNode*                   nodeC;              //!< reference to the node C
    3235   QuadtreeNode*                   nodeD;              //!< reference to the node D
     36
    3337};
    3438
Note: See TracChangeset for help on using the changeset viewer.