Changeset 8533 in orxonox.OLD for branches/bsp_model/src/lib/graphics/importer/bsp_manager.cc
- Timestamp:
- Jun 16, 2006, 3:21:30 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/graphics/importer/bsp_manager.cc
r8524 r8533 50 50 BspManager::BspManager(WorldEntity* parent) 51 51 { 52 52 53 53 this->parent = parent; 54 54 /*// open a BSP file … … 937 937 void BspManager::checkCollision(WorldEntity* worldEntity) 938 938 { 939 939 940 940 this->outputStartsOut = true; 941 941 this->outputAllSolid = false; 942 942 this->outputFraction = 1.0f; 943 943 944 944 945 945 … … 976 976 977 977 float height = 40; 978 978 979 979 this->inputStart = position; 980 980 this->inputEnd = dest; 981 981 this->checkCollisionRayN(this->root,0.0f,1.0f, &position, &dest ); 982 982 983 PRINTF(0)(" checking collision: %s, solid = %i, fraction = %f\n", worldEntity->getClassName(), this->outputAllSolid, this->outputFraction);984 PRINTF(0)("checking collision!! Pos.Coords: %f , %f , %f\n", position.x , position.y, position.z);985 PRINTF(0)("checking collision!! Dest.Coords: %f , %f , %f\n", dest.x , dest.y, dest.z); 983 // PRINTF(0)(" checking collision: %s, solid = %i, fraction = %f\n", worldEntity->getClassName(), this->outputAllSolid, this->outputFraction); 984 // PRINTF(0)("checking collision!! Pos.Coords: %f , %f , %f\n", position.x , position.y, position.z); 985 // PRINTF(0)("checking collision!! Dest.Coords: %f , %f , %f\n", dest.x , dest.y, dest.z); 986 986 // position1.debug(); 987 987
Note: See TracChangeset
for help on using the changeset viewer.