Changeset 10033 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Dec 7, 2006, 3:05:27 PM (18 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 2 added
- 4 edited
- 10 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/collision_detection/cd_engine.cc
r9877 r10033 29 29 //#include "quadtree_node.h" 30 30 31 #include "bsp _manager.h"31 #include "bsp/bsp_manager.h" 32 32 #include "bsp_entity.h" 33 33 -
trunk/src/lib/collision_detection/obb_tree_node.cc
r10013 r10033 20 20 21 21 #include "collision_tube.h" 22 #include "world_entity.h" 22 23 23 24 #include "matrix.h" … … 479 480 return; 480 481 481 #warning this should be done 482 // if( !CoRe::CollisionTube::getInstance()->isReactive( *nodeA, *nodeB) ) 482 PRINTF(4)("collideWith\n"); 483 PRINTF(5)("Checking OBB %i vs %i: ", this->getIndex(), treeNode->getIndex()); 484 485 // check if these world entities have registered for a collision reaction between each other 486 // if( !nodeA->isReactive( *nodeB) && !nodeB->isReactive( *nodeA) ) 483 487 // return; 484 488 489 // now use bounding spheres as a first collision estimation 485 490 // float distanceMax = this->bvElement->radius + ((OBBTreeNode*)treeNode)->bvElement->radius; 486 491 // float distance = fabs((nodeA->getAbsCoor() - nodeB->getAbsCoor()).len()); 487 488 489 // if( distance < distanceMax) 490 // PRINTF(0)(" %s (%s: group %i) vs %s (%s: group %i): distanceMax: %f, distance: %f\n", nodeA->getClassCName(), nodeA->getName(), nodeA->getOMListNumber(), nodeB->getClassCName(), nodeB->getName(), nodeB->getOMListNumber(), distanceMax, distance); 491 492 493 PRINTF(4)("collideWith\n"); 494 PRINTF(5)("Checking OBB %i vs %i: ", this->getIndex(), treeNode->getIndex()); 492 // if( distance > distanceMax) 493 // return; 495 494 496 495 // for now only collide with OBBTreeNodes -
trunk/src/lib/graphics/importer/Makefile.am
r9869 r10033 12 12 static_model.cc \ 13 13 static_model_data.cc \ 14 objModel.cc \15 14 resource_obj.cc \ 16 15 primitive_model.cc \ 17 16 height_map.cc \ 18 bsp_manager.cc \19 bsp_file.cc \20 bsp_tree_node.cc \21 bsp_tree_leaf.cc \22 17 \ 23 18 material.cc \ … … 29 24 movie_player.cc \ 30 25 \ 31 bsp_manager.cc \ 32 bsp_file.cc \ 33 bsp_tree_node.cc \ 34 bsp_tree_leaf.cc \ 26 obj/objModel.cc \ 27 \ 28 bsp/bsp_manager.cc \ 29 bsp/bsp_file.cc \ 30 bsp/bsp_tree_node.cc \ 31 bsp/bsp_tree_leaf.cc \ 35 32 \ 36 33 md2/md2Model.cc \ … … 60 57 static_model.h \ 61 58 static_model_data.h \ 62 objModel.h \63 59 resource_obj.h \ 64 60 primitive_model.h \ … … 76 72 movie_player.h\ 77 73 \ 78 bsp_manager.h \ 79 bsp_file.h \ 80 bsp_tree_node.h \ 81 bsp_tree_leaf.h \ 74 bsp/bsp_manager.h \ 75 bsp/bsp_file.h \ 76 bsp/bsp_tree_node.h \ 77 bsp/bsp_tree_leaf.h \ 78 \ 79 obj/objModel.h \ 82 80 \ 83 81 md2/md2Model.h \ -
trunk/src/lib/graphics/importer/resource_obj.h
r9869 r10033 9 9 10 10 #include "util/loading/resource.h" 11 #include "obj Model.h"11 #include "obj/objModel.h" 12 12 13 13 class ResourceOBJ : public StaticModel, public Resources::Resource
Note: See TracChangeset
for help on using the changeset viewer.