- Timestamp:
- Jan 31, 2006, 3:45:13 PM (19 years ago)
- Location:
- branches/cdmerge/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cdmerge/src/defs/debug.h
r6868 r6897 78 78 #define DEBUG_MODULE_OBJECT_MANAGER 2 79 79 #define DEBUG_MODULE_ANIM 2 80 #define DEBUG_MODULE_COLLISON_DETECTION 280 #define DEBUG_MODULE_COLLISON_DETECTION 3 81 81 #define DEBUG_MODULE_SPATIAL_SEPARATION 2 82 82 #define DEBUG_MODULE_GUI 2 -
branches/cdmerge/src/lib/collision_detection/obb_tree.cc
r6894 r6897 66 66 if( unlikely(this->rootNode != NULL)) 67 67 { 68 PRINTF(2)("The BVTree has already been spawned, flushing and respawning again...\n");69 this->flushTree();68 PRINTF(2)("The BVTree has already been spawned, returning\n"); 69 return; 70 70 } 71 71 72 this->rootNode = new OBBTreeNode(*this, NULL, depth-1); 72 73 73 /* triangles indexes created */ 74 74 int* triangleIndexes = new int[modelInf.numTriangles]; -
branches/cdmerge/src/lib/collision_detection/obb_tree_node.cc
r6894 r6897 689 689 { 690 690 691 printf("draw bv\n"); 691 692 692 693 /* this function can be used to draw the triangles and/or the points only */ -
branches/cdmerge/src/story_entities/game_world.cc
r6878 r6897 427 427 if( unlikely( this->showBV)) 428 428 { 429 printf("draw itititi\n"); 429 430 CDEngine* engine = CDEngine::getInstance(); 430 431 engine->drawBV(State::getObjectManager()->getObjectList(OM_ENVIRON_NOTICK)); -
branches/cdmerge/src/story_entities/game_world.h
r6845 r6897 53 53 void togglePNodeVisibility() { this->showPNodes = !this->showPNodes; }; 54 54 /** toggles the bounding volume (BV) visibility */ 55 void toggleBVVisibility() { this->showBV = !this->showBV; };55 void toggleBVVisibility() { this->showBV = !this->showBV; PRINTF(0)("toggling from story entity: %s\n", this->getName());}; 56 56 57 57 -
branches/cdmerge/src/world_entities/world_entity.cc
r6894 r6897 212 212 { 213 213 PRINTF(4)("creating obb tree\n"); 214 215 216 214 this->obbTree = new OBBTree(depth, this->models[0]->getModelInfo()); 217 215 return true; … … 219 217 else 220 218 { 221 PRINTF( 2)("could not create obb-tree, because no model was loaded yet\n");219 PRINTF(1)("could not create obb-tree, because no model was loaded yet\n"); 222 220 this->obbTree = NULL; 223 221 return false;
Note: See TracChangeset
for help on using the changeset viewer.