Changeset 8935 in orxonox.OLD for branches/single_player_map/src/lib/graphics/importer/bsp_manager.cc
- Timestamp:
- Jun 30, 2006, 1:51:57 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/lib/graphics/importer/bsp_manager.cc
r8934 r8935 986 986 987 987 if( box != NULL) { 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);988 position = worldEntity->getAbsCoor() + box->center + Vector(0.0, 1.0, 0.0) * box->halfLength[1]; 989 dest = worldEntity->getAbsCoor() + box->center - Vector(0.0, 1.0, 0.0) * (box->halfLength[1] + BSP_Y_OFFSET); 990 990 991 991 position1 = worldEntity->getAbsCoor() + box->center + worldEntity->getAbsDirX() * (box->halfLength[0] + BSP_X_OFFSET); … … 999 999 1000 1000 } 1001 1002 // worldEntity->getAbsDirX().debug(); 1001 1003 1002 1004
Note: See TracChangeset
for help on using the changeset viewer.