Changeset 9184 in orxonox.OLD for branches/presentation/src/lib/collision_detection
- Timestamp:
- Jul 5, 2006, 6:25:03 AM (19 years ago)
- Location:
- branches/presentation/src/lib/collision_detection
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/lib/collision_detection/obb_tree_node.cc
r9183 r9184 57 57 this->nodeRight = NULL; 58 58 this->bvElement = NULL; 59 60 this->flag = false;61 59 62 60 this->triangleIndexList1 = NULL; … … 111 109 this->bvElement->axis[1] = Vector(0,1,0); 112 110 this->bvElement->axis[2] = Vector(0,0,1); 113 114 115 PRINTF(0)("half length %f, %f, %f\n", this->bvElement->halfLength[0], this->bvElement->halfLength[1], this->bvElement->halfLength[2]);116 PRINTF(0)("center:\n");117 this->bvElement->center.debug();118 119 this->flag = true;120 111 } 121 112 … … 708 699 void OBBTreeNode::drawBV(int depth, int drawMode, const Vector& color, bool top) const 709 700 { 710 711 if( !this->flag)712 return;713 714 PRINTF(0)("bv box\n");715 701 716 702 /* this function can be used to draw the triangles and/or the points only */ -
branches/presentation/src/lib/collision_detection/obb_tree_node.h
r9174 r9184 80 80 81 81 WorldEntity* owner; 82 bool flag; 82 83 83 }; 84 84
Note: See TracChangeset
for help on using the changeset viewer.