Changeset 4550 in orxonox.OLD for orxonox/trunk/src/lib/collision_detection
- Timestamp:
- Jun 8, 2005, 10:34:04 AM (19 years ago)
- Location:
- orxonox/trunk/src/lib/collision_detection
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/collision_detection/bv_tree.h
r4533 r4550 12 12 // FORWARD DEFINITION 13 13 class BoundingVolume; 14 class sVec3D; 14 15 15 16 16 //! A class that represents a bounding volume tree … … 33 33 34 34 protected: 35 sVec3D* vertices;36 35 int numberOfVertices; 37 36 -
orxonox/trunk/src/lib/collision_detection/bv_tree_node.h
r4548 r4550 14 14 class BoundingVolume; 15 15 class BVTree; 16 //struct sVec3D; 16 17 template<class T> class tList; 17 18 -
orxonox/trunk/src/lib/collision_detection/obb_tree.cc
r4546 r4550 17 17 18 18 #include "obb_tree.h" 19 #include "obb_tree_node.h" 19 20 #include "obb.h" 20 21 #include "debug.h" 22 #include "compiler.h" 21 23 22 24 using namespace std; … … 58 60 59 61 void OBBTree::drawBV(int currentDepth, const int depth) const 60 {} 62 { 63 if( likely(this->rootNode != NULL)) 64 this->rootNode->drawBV(currentDepth, depth); 65 } 61 66 62 67 63 68 void OBBTree::drawBVPolygon(int currentDepth, const int depth) const 64 {} 69 { 70 if( likely(this->rootNode != NULL)) 71 this->rootNode->drawBVPolygon(currentDepth, depth); 72 } 65 73 66 74 67 75 void OBBTree::drawBVBlended(int currentDepth, const int depth) const 68 {} 76 { 77 if( likely(this->rootNode != NULL)) 78 this->rootNode->drawBVBlended(currentDepth, depth); 79 } 69 80 70 81 -
orxonox/trunk/src/lib/collision_detection/obb_tree.h
r4546 r4550 8 8 #define _OBB_TREE_H 9 9 10 #include "base_object.h"11 10 #include "bv_tree.h" 12 11 12 13 class OBBTreeNode; 13 14 14 15 //! A class for representing an obb tree … … 31 32 32 33 private: 34 OBBTreeNode* rootNode; //!< reference to the root node of the tree 33 35 34 36 }; -
orxonox/trunk/src/lib/collision_detection/obb_tree_node.cc
r4548 r4550 20 20 #include "obb.h" 21 21 #include "vector.h" 22 #include "abstract_model.h" 22 23 23 24 #include <math.h> -
orxonox/trunk/src/lib/collision_detection/obb_tree_node.h
r4548 r4550 9 9 10 10 #include "bv_tree_node.h" 11 #include "abstract_model.h" 11 12 12 13 13 14 // FORWARD DEFINITION 14 15 class BoundingVolume; 16 //struct sVec3D; 15 17 16 18 //! A class that represents a bounding volume tree
Note: See TracChangeset
for help on using the changeset viewer.