Changeset 7005 in orxonox.OLD for branches/current_cd/src/lib/collision_detection/obb_tree.h
- Timestamp:
- Feb 3, 2006, 9:34:57 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/current_cd/src/lib/collision_detection/obb_tree.h
r6922 r7005 15 15 class OBBTreeNode; 16 16 class PNode; 17 class WorldEntity; 17 18 18 19 //! A class for representing an obb tree … … 21 22 22 23 public: 23 OBBTree(int depth, const modelInfo* modInfo );24 OBBTree(int depth, const modelInfo* modInfo, WorldEntity* entity); 24 25 virtual ~OBBTree(); 25 26 void init(); … … 35 36 /** returns the root node of the bounding volume tree @return reference to the root node */ 36 37 inline OBBTreeNode* getRootNode() const { return this->rootNode; } 38 inline WorldEntity* getOwner() const { return this->owner; } 37 39 38 40 void debug(); … … 42 44 int id; //!< the next id of a obb tree node 43 45 int depth; //!< the depth of the tree to generate 46 WorldEntity* owner; //!< owner 44 47 }; 45 48
Note: See TracChangeset
for help on using the changeset viewer.