Changeset 8934 in orxonox.OLD for branches/single_player_map/src/lib/graphics/importer
- Timestamp:
- Jun 30, 2006, 1:38:40 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/lib/graphics/importer/bsp_manager.cc
r8933 r8934 986 986 987 987 if( box != NULL) { 988 position = worldEntity->getAbsCoor() + box->center + box->axis[1] * box->halfLength[1]; 989 dest = worldEntity->getAbsCoor() + box->center - box->axis[1] * box->halfLength[1] * 40.0f; 990 991 position1 = worldEntity->getAbsCoor() + box->center + box->axis[0] * box->halfLength[0] * 10.0f; 992 dest1 = worldEntity->getAbsCoor() + box->center - box->axis[0] * box->halfLength[0] * 10.0f; 993 994 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; 988 position = worldEntity->getAbsCoor() + box->center + worldEntity->getAbsDirY() * box->halfLength[1]; 989 dest = worldEntity->getAbsCoor() + box->center - worldEntity->getAbsDirY() * (box->halfLength[1] + BSP_Y_OFFSET); 990 991 position1 = worldEntity->getAbsCoor() + box->center + worldEntity->getAbsDirX() * (box->halfLength[0] + BSP_X_OFFSET); 992 dest1 = worldEntity->getAbsCoor() + box->center - worldEntity->getAbsDirX() * (box->halfLength[0] + BSP_X_OFFSET); 993 994 position2 = worldEntity->getAbsCoor() + box->center + worldEntity->getAbsDirZ() * (box->halfLength[2] + BSP_Z_OFFSET); 995 dest2 = worldEntity->getAbsCoor() + box->center - worldEntity->getAbsDirZ() * (box->halfLength[2] + BSP_Z_OFFSET); 997 996 998 997 } else {
Note: See TracChangeset
for help on using the changeset viewer.