Changeset 9054 in orxonox.OLD for branches/single_player_map/src/lib/graphics
- Timestamp:
- Jul 3, 2006, 5:44:03 PM (18 years ago)
- Location:
- branches/single_player_map/src/lib/graphics/importer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/lib/graphics/importer/bsp_manager.cc
r9050 r9054 986 986 987 987 if( box != NULL) { 988 position = worldEntity->getAbsCoor() + box->center + Vector(0.0, 1.0, 0.0) * box->halfLength[1] * 0.001;988 position = worldEntity->getAbsCoor() + box->center + Vector(0.0, 1.0, 0.0) * box->halfLength[1] * 1.0f; 989 989 dest = worldEntity->getAbsCoor() + box->center - Vector(0.0, 1.0, 0.0) * (box->halfLength[1] + BSP_Y_OFFSET) * 100; 990 990 -
branches/single_player_map/src/lib/graphics/importer/bsp_manager.h
r9050 r9054 30 30 #define BSP_X_OFFSET 40.0f 31 31 #define BSP_Y_OFFSET 40.0f 32 #define BSP_Z_OFFSET 20.0f32 #define BSP_Z_OFFSET 40.0f 33 33 34 34
Note: See TracChangeset
for help on using the changeset viewer.