Changeset 6919 in orxonox.OLD for branches/current_cd
- Timestamp:
- Jan 31, 2006, 10:27:35 PM (19 years ago)
- Location:
- branches/current_cd/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/current_cd/src/defs/debug.h
r6909 r6919 78 78 #define DEBUG_MODULE_OBJECT_MANAGER 2 79 79 #define DEBUG_MODULE_ANIM 2 80 #define DEBUG_MODULE_COLLISION_DETECTION 480 #define DEBUG_MODULE_COLLISION_DETECTION 2 81 81 #define DEBUG_MODULE_SPATIAL_SEPARATION 2 82 82 #define DEBUG_MODULE_GUI 2 -
branches/current_cd/src/lib/collision_detection/obb_tree_node.cc
r6911 r6919 88 88 delete this->bvElement; 89 89 90 if( this->triangleIndexList1 != NULL)91 delete [] this->triangleIndexList1;92 if( this->triangleIndexList2 != NULL)93 delete [] this->triangleIndexList2;90 // if( this->triangleIndexList1 != NULL) 91 // delete [] this->triangleIndexList1; 92 // if( this->triangleIndexList2 != NULL) 93 // delete [] this->triangleIndexList2; 94 94 } 95 95 … … 735 735 736 736 737 if( 1/*drawMode & DRAW_BV_AXIS || drawMode & DRAW_ALL*/)738 { 739 if( 1 /*!(drawMode & DRAW_SINGLE && depth != 0)*/)737 if( drawMode & DRAW_BV_AXIS || drawMode & DRAW_ALL) 738 { 739 if( drawMode & DRAW_SINGLE && depth != 0) 740 740 { 741 741 /* draw the obb axes */ -
branches/current_cd/src/lib/math/matrix.cc
r6909 r6919 259 259 if (!(eigVc1.cross(eigVc3) == eigVc2)) 260 260 { 261 eigVc3.cross(eigVc1) .debug();262 eigVc2.debug();263 } 264 printf("ok\n");261 eigVc3.cross(eigVc1); 262 // eigVc2.debug(); 263 } 264 /* printf("ok\n")*/; 265 265 } 266 266 -
branches/current_cd/src/story_entities/game_world.h
r6845 r6919 9 9 10 10 #include "story_entity.h" 11 #include "state.h" 11 12 #include "game_world_data.h" 12 13 … … 53 54 void togglePNodeVisibility() { this->showPNodes = !this->showPNodes; }; 54 55 /** toggles the bounding volume (BV) visibility */ 55 void toggleBVVisibility() { this->showBV = !this->showBV; };56 56 void toggleBVVisibility() { dynamic_cast<GameWorld*>(State::getCurrentStoryEntity())->applyToggleBVVisibility(); } 57 void applyToggleBVVisibility() { this->showBV = !this->showBV; } 57 58 58 59
Note: See TracChangeset
for help on using the changeset viewer.