Changeset 8842 in orxonox.OLD for branches/multi_player_map
- Timestamp:
- Jun 28, 2006, 11:11:55 AM (18 years ago)
- Location:
- branches/multi_player_map/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/multi_player_map/src/lib/collision_detection/bounding_volume.h
r7711 r8842 38 38 const int* triangleIndexes; //!< Array with the triangle indexes in modelInfo 39 39 int triangleIndexesLength; //!< length of the indexes array 40 41 float radius; //!< the radius of the box (longest axis) 40 42 }; 41 43 -
branches/multi_player_map/src/lib/collision_detection/obb_tree_node.cc
r8838 r8842 364 364 } 365 365 } 366 this->bvElement->radius = longestAxis; 366 367 PRINTF(4)("\nLongest Axis is: Nr %i with a half-length of:%11.2f\n", longestAxisIndex, longestAxis); 367 368 … … 453 454 if( unlikely(treeNode == NULL || nodeA == NULL || nodeB == NULL)) 454 455 return; 456 457 458 float distanceMax = nodeA->radius + nodeB->radius; 459 float distance = fabs((nodeA->getAbsCoor() - nodeB->getAbsCoor()).len()); 460 461 455 462 456 463 PRINTF(4)("collideWith\n"); -
branches/multi_player_map/src/util/multiplayer_team_deathmatch.cc
r8838 r8842 81 81 82 82 subscribeEvent( ES_GAME, SDLK_o ); 83 subscribeEvent( ES_GAME, SDLK_ TAB);83 subscribeEvent( ES_GAME, SDLK_t ); 84 84 subscribeEvent( ES_GAME, SDLK_F1 ); 85 85 subscribeEvent( ES_MENU, SDLK_F1 ); … … 102 102 { 103 103 unsubscribeEvent( ES_GAME, SDLK_o ); 104 unsubscribeEvent( ES_GAME, SDLK_ TAB);104 unsubscribeEvent( ES_GAME, SDLK_t ); 105 105 unsubscribeEvent( ES_GAME, SDLK_F1 ); 106 106 unsubscribeEvent( ES_MENU, SDLK_F1 ); … … 558 558 } 559 559 } 560 else if ( event.type == SDLK_ TAB)560 else if ( event.type == SDLK_t ) 561 561 { 562 562 if ( !event.bPressed )
Note: See TracChangeset
for help on using the changeset viewer.