Changeset 8924 in orxonox.OLD for branches/single_player_map/src/lib/graphics/importer
- Timestamp:
- Jun 29, 2006, 10:47:05 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
r8922 r8924 987 987 if( box != NULL) { 988 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.0;989 dest = worldEntity->getAbsCoor() + box->center - box->axis[1] * box->halfLength[1] * 40.0f; 990 990 991 991 position1 = worldEntity->getAbsCoor() + box->center + box->axis[0] * box->halfLength[0] * 2.0f; 992 dest1 = worldEntity->getAbsCoor() + box->center - box->axis[0] * box->halfLength[0] * 2.0f;992 dest1 = worldEntity->getAbsCoor() + box->center - box->axis[0] * box->halfLength[0] * 2.0f; 993 993 994 994 -
branches/single_player_map/src/lib/graphics/importer/bsp_manager.h
r8910 r8924 28 28 29 29 30 #define BSP_X_OFFSET 10.0f 31 #define BSP_Y_OFFSET 40.0f 32 #define BSP_Z_OFFSET 10.0f 33 30 34 31 35 // FORWARD DECLARATIONS … … 56 60 57 61 BspManager(const char* fileName, float scale = 0.4f); 58 62 59 63 // Deconstructor 60 64 ~BspManager(); 61 62 65 66 63 67 64 68 // Functions … … 106 110 Vector inputStart; 107 111 Vector inputEnd; 108 112 109 113 Vector traceMins; //!< Mins of current bbox 110 114 Vector traceMaxs; //!< Maxs of current bbox … … 122 126 Vector out1; //!< For debugging only 123 127 Vector out2; //!< For debugging only 124 128 125 129 int tgl; 126 130 };
Note: See TracChangeset
for help on using the changeset viewer.