Changeset 9184 in orxonox.OLD for branches/presentation/src
- Timestamp:
- Jul 5, 2006, 6:25:03 AM (18 years ago)
- Location:
- branches/presentation/src
- Files:
-
- 4 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 -
branches/presentation/src/story_entities/game_world.cc
r9179 r9184 469 469 this->dataTank->objectManager->getObjectList(OM_GROUP_00_PROJ)); 470 470 CDEngine::getInstance()->checkCollisions(this->dataTank->objectManager->getObjectList(OM_GROUP_00), 471 this->dataTank->objectManager->getObjectList(OM_GROUP_01));471 this->dataTank->objectManager->getObjectList(OM_GROUP_01)); 472 472 473 473 CDEngine::getInstance()->checkCollisions(this->dataTank->objectManager->getObjectList(OM_GROUP_01), -
branches/presentation/src/world_entities/weapons/aiming_system.cc
r9174 r9184 63 63 this->subscribeReaction(CREngine::CR_OBJECT_DAMAGE, CL_WORLD_ENTITY); 64 64 65 this->range = 10.0f;65 this->range = 30.0f; 66 66 this->sideLength = 2.0f; 67 67
Note: See TracChangeset
for help on using the changeset viewer.