Changeset 4813 in orxonox.OLD
- Timestamp:
- Jul 7, 2005, 2:44:19 PM (19 years ago)
- Location:
- orxonox/trunk/src/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/collision_detection/obb_tree_node.cc
r4746 r4813 79 79 OBBTreeNode::~OBBTreeNode () 80 80 { 81 // delete what has to be deleted here 81 82 delete [] this->vertices; 83 84 delete this->bvElement; 85 delete this->nodeLeft; 86 delete this->nodeRight; 82 87 } 83 88 -
orxonox/trunk/src/lib/graphics/spatial_separation/quadtree_node.cc
r4812 r4813 23 23 /** 24 24 \brief standard constructor 25 \todo this constructor is not jet implemented - do it26 25 */ 27 QuadtreeNode::QuadtreeNode ( )26 QuadtreeNode::QuadtreeNode (sTriangleExt* triangles, int numTriangles, Quadtree* quadtree) 28 27 { 29 28 this->setClassID(CL_QUADTREE_NODE, "QuadtreeNode"); 30 31 29 } 32 30 -
orxonox/trunk/src/lib/graphics/spatial_separation/quadtree_node.h
r4812 r4813 12 12 13 13 // FORWARD DEFINITION 14 class Quadtree; 14 15 class QuadtreeNode; 15 16 … … 18 19 19 20 public: 20 QuadtreeNode( );21 QuadtreeNode(sTriangleExt* triangles, int numTriangles, Quadtree* quadtree); 21 22 virtual ~QuadtreeNode(); 22 23 … … 27 28 28 29 private: 30 Quadtree* quadtree; //!< reference to the quadtree 29 31 Vector center; //!< center coordinate of the quadtree node - relative coordinates in model space(!) 30 32 float axisLength; //!< axis length of the quadtree 31 33 float maxHeigth; //!< max height of the model in the quadtree 32 34 33 sTriangleExt* triangles; 34 unsigned int numTriangles; 35 sTriangleExt* triangles; //!< reference to the triangles of the node 36 unsigned int numTriangles; //!< number of triangles of the Node 37 modelInfo* pModelInfo; //!< reference to the modelInfo of the object 35 38 36 39 QuadtreeNode* nodeA; //!< reference to the node A
Note: See TracChangeset
for help on using the changeset viewer.