Changeset 4531 in orxonox.OLD for orxonox/trunk/src/lib/collision_detection
- Timestamp:
- Jun 7, 2005, 9:22:30 AM (19 years ago)
- Location:
- orxonox/trunk/src/lib/collision_detection
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/collision_detection/bv_tree.h
r4528 r4531 12 12 // FORWARD DEFINITION 13 13 class BoundingVolume; 14 14 class sVec3D; 15 15 16 16 //! A class that represents a bounding volume tree … … 32 32 virtual void drawBVBlended(int currentDepth, const int depth) const; 33 33 34 protected: 35 sVec3D* vertices; 36 34 37 private: 35 38 BoundingVolume* firstElement; -
orxonox/trunk/src/lib/collision_detection/obb.cc
r4511 r4531 38 38 // delete what has to be deleted here 39 39 } 40 41 42 sVect3D* OBB::getVertices() const 43 {} 44 45 46 void OBB::mergeWith(const BoundingVolume &bv) 47 {} 48 49 50 void OBB::drawBV(int currentDepth, const int depth) const 51 {} 52 53 54 void OBB::drawBVPolygon(int currentDepth, const int depth) const 55 {} 56 57 58 void OBB::drawBVBlended(int currentDepth, const int depth) const 59 {} -
orxonox/trunk/src/lib/collision_detection/obb.h
r4526 r4531 22 22 inline const sVect3D* getHalfLength() const { return this->halfLength; } 23 23 24 virtual sVect3D* getVertices() const; 25 virtual void mergeWith(const BoundingVolume &bv); 26 27 virtual void drawBV(int currentDepth, const int depth) const; 28 virtual void drawBVPolygon(int currentDepth, const int depth) const; 29 virtual void drawBVBlended(int currentDepth, const int depth) const; 30 31 24 32 private: 25 33 Vector* axis; //!< Axes of oriented box [x,y,z] -
orxonox/trunk/src/lib/collision_detection/obb_tree.cc
r4528 r4531 17 17 18 18 #include "obb_tree.h" 19 #include "obb.h" 19 20 20 21 using namespace std; … … 42 43 43 44 void OBBTree::spawnBVTree(int depth) 44 {} 45 { 46 OBB obb(); 47 48 } 45 49 46 50 -
orxonox/trunk/src/lib/collision_detection/obb_tree.h
r4528 r4531 10 10 #include "base_object.h" 11 11 #include "bv_tree.h" 12 12 13 13 14 //! A class for representing an obb tree
Note: See TracChangeset
for help on using the changeset viewer.