Changeset 4682 in orxonox.OLD for orxonox/trunk/src/lib/collision_detection
- Timestamp:
- Jun 24, 2005, 12:50:34 AM (19 years ago)
- Location:
- orxonox/trunk/src/lib/collision_detection
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/collision_detection/obb_tree.cc
r4671 r4682 31 31 OBBTree::OBBTree () 32 32 { 33 this->init(); 34 } 35 36 OBBTree::OBBTree(int depth, sVec3D *verticesList, const int length) 37 { 38 this->init(); 39 this->spawnBVTree(depth, verticesList, length); 40 } 41 42 43 44 void OBBTree::init() 45 { 33 46 this->setClassID(CL_OBB_TREE, "OBBTree"); 34 47 … … 61 74 this->id = 0; 62 75 } 63 64 76 65 77 /** -
orxonox/trunk/src/lib/collision_detection/obb_tree.h
r4670 r4682 20 20 public: 21 21 OBBTree(); 22 OBBTree(int depth, sVec3D *verticesList, const int length); 22 23 virtual ~OBBTree(); 24 void init(); 23 25 24 26 virtual void spawnBVTree(int depth, sVec3D *verticesList, const int length);
Note: See TracChangeset
for help on using the changeset viewer.