Changeset 9896 in orxonox.OLD for branches/coll_rect/src/lib/graphics
- Timestamp:
- Oct 20, 2006, 1:09:03 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/coll_rect/src/lib/graphics/importer/bsp_manager.cc
r9869 r9896 46 46 47 47 #include "aabb.h" 48 #include "cr_defs.h" 48 #include "cr_engine.h" 49 #include "collision_tube.h" 49 50 50 51 … … 1215 1216 if( xCollisionForward) 1216 1217 { 1217 entity->registerCollision(COLLISION_TYPE_AXIS_X ,1218 CoRe::CollisionTube::getInstance()->registerCollisionEvent( CoRe::CREngine::CR_COLLISION_TYPE_AXIS_X , 1218 1219 this->parent, entity, 1219 1220 Vector(testPlane->x, testPlane->y, testPlane->z), … … 1254 1255 if( xCollisionBackward) 1255 1256 { 1256 entity->registerCollision(COLLISION_TYPE_AXIS_X_NEG,1257 CoRe::CollisionTube::getInstance()->registerCollisionEvent( CoRe::CREngine::CR_COLLISION_TYPE_AXIS_X_NEG, 1257 1258 this->parent, entity, 1258 1259 Vector(testPlane->x, testPlane->y, testPlane->z), … … 1350 1351 if( yCollisionUp) 1351 1352 { 1352 entity->registerCollision(COLLISION_TYPE_AXIS_Y, this->parent,1353 CoRe::CollisionTube::getInstance()->registerCollisionEvent( CoRe::CREngine::CR_COLLISION_TYPE_AXIS_Y, this->parent, 1353 1354 entity, 1354 1355 Vector(testPlane->x, testPlane->y, testPlane->z), … … 1403 1404 if( yCollisionDown) 1404 1405 { 1405 entity->registerCollision(COLLISION_TYPE_AXIS_Y_NEG , this->parent,1406 CoRe::CollisionTube::getInstance()->registerCollisionEvent( CoRe::CREngine::CR_COLLISION_TYPE_AXIS_Y_NEG , this->parent, 1406 1407 entity, 1407 1408 Vector(testPlane->x, testPlane->y, testPlane->z), 1408 1409 collPos, SolidFlag); 1409 1410 } 1410 1411 1412 1411 } 1413 1412 … … 1484 1483 1485 1484 if( zCollisionRight) { 1486 entity->registerCollision(COLLISION_TYPE_AXIS_Z , this->parent,1485 CoRe::CollisionTube::getInstance()->registerCollisionEvent( CoRe::CREngine::CR_COLLISION_TYPE_AXIS_Z , this->parent, 1487 1486 entity, 1488 1487 Vector(testPlane->x, testPlane->y, testPlane->z), … … 1523 1522 1524 1523 if( zCollisionLeft) { 1525 entity->registerCollision(COLLISION_TYPE_AXIS_Z_NEG , this->parent,1526 entity,1527 Vector(testPlane->x, testPlane->y, testPlane->z),1528 collPos , SolidFlag);1524 CoRe::CollisionTube::getInstance()->registerCollisionEvent( CoRe::CREngine::CR_COLLISION_TYPE_AXIS_Z_NEG , this->parent, 1525 entity, 1526 Vector(testPlane->x, testPlane->y, testPlane->z), 1527 collPos , SolidFlag); 1529 1528 } 1530 1529
Note: See TracChangeset
for help on using the changeset viewer.