Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 3, 2006, 9:34:57 AM (18 years ago)
Author:
patrick
Message:

cd: work flush

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/current_cd/src/lib/collision_detection/obb_tree.h

    r6922 r7005  
    1515class OBBTreeNode;
    1616class PNode;
     17class WorldEntity;
    1718
    1819//! A class for representing an obb tree
     
    2122
    2223  public:
    23     OBBTree(int depth, const modelInfo* modInfo);
     24    OBBTree(int depth, const modelInfo* modInfo, WorldEntity* entity);
    2425    virtual ~OBBTree();
    2526    void init();
     
    3536    /** returns the root node of the bounding volume tree @return reference to the root node */
    3637    inline OBBTreeNode* getRootNode() const { return this->rootNode; }
     38    inline WorldEntity* getOwner() const { return this->owner; }
    3739
    3840    void debug();
     
    4244    int                  id;                              //!< the next id of a obb tree node
    4345    int                  depth;                           //!< the depth of the tree to generate
     46    WorldEntity*         owner;                           //!< owner
    4447};
    4548
Note: See TracChangeset for help on using the changeset viewer.