Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 13, 2005, 6:25:54 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: drawing in diffrent hirarchies works now, with diffrent colors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/collision_detection/obb_tree_node.h

    r4618 r4622  
    1515class BoundingVolume;
    1616class OBB;
     17class OBBTree;
    1718//struct sVec3D;
    1819
     
    2930    BoundingVolume* getBV(int index) const { return (BoundingVolume*)this->bvElement; }
    3031    inline const int getIndex() { return this->treeIndex; }
     32    inline void setTreeRef(OBBTree* tree) { this->obbTree = tree;}
    3133
    3234    virtual void collideWith(const BVTree &tree);
     
    5557    int                 numOfVertices;              //!< number of vertices in vertices data
    5658    int                 depth;                      //!< the depth of the node in the tree
    57 
     59    static OBBTree*     obbTree;                    //!< reference to the obb tree
    5860};
    5961
Note: See TracChangeset for help on using the changeset viewer.