Changeset 8933 in orxonox.OLD for branches/single_player_map/src/lib/graphics/importer
- Timestamp:
- Jun 30, 2006, 1:12:57 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/lib/graphics/importer/bsp_manager.cc
r8932 r8933 993 993 994 994 995 position2 = worldEntity->getAbsCoor() + box->center + box->axis[2] * box->halfLength[2] * 2.0f;996 dest2 = worldEntity->getAbsCoor() + box->center - box->axis[2] * box->halfLength[2] * 2.0f;995 position2 = worldEntity->getAbsCoor() + box->center + box->axis[2] * box->halfLength[2] * 0.0f; 996 dest2 = worldEntity->getAbsCoor() + box->center - box->axis[2] * box->halfLength[2] * 0.0f; 997 997 998 998 } else { … … 1120 1120 } 1121 1121 if(xCollision) { 1122 worldEntity->registerCollision(COLLISION_TYPE_AXIS_ Z, this->parent, worldEntity, Vector(testPlane->x, testPlane->y, testPlane->z),dest1 , SolidFlag);1122 worldEntity->registerCollision(COLLISION_TYPE_AXIS_X , this->parent, worldEntity, Vector(testPlane->x, testPlane->y, testPlane->z),dest1 , SolidFlag); 1123 1123 } 1124 1124 if(zCollision) { 1125 worldEntity->registerCollision(COLLISION_TYPE_AXIS_ X, this->parent, worldEntity, Vector(testPlane->x, testPlane->y, testPlane->z), dest2 , SolidFlag);1125 worldEntity->registerCollision(COLLISION_TYPE_AXIS_Z , this->parent, worldEntity, Vector(testPlane->x, testPlane->y, testPlane->z), dest2 , SolidFlag); 1126 1126 } 1127 1127
Note: See TracChangeset
for help on using the changeset viewer.