Changeset 8930 in orxonox.OLD for branches/single_player_map/src/lib/graphics/importer
- Timestamp:
- Jun 30, 2006, 12:07:58 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/lib/graphics/importer/bsp_manager.cc
r8926 r8930 1061 1061 if(this->outputFraction < 1.0f) { 1062 1062 out.x = dest1.x + (dest1.x -position1.x) * this->outputFraction; 1063 dest1 = dest1 + (dest1 -position1) * this->outputFraction;1063 dest1 = position1 + (dest1 -position1) * this->outputFraction; 1064 1064 xCollision = true; 1065 1065 testPlane = this->collPlane; 1066 1066 } 1067 if(this->outputAllSolid || !this->outputStartsOut) { 1067 if(this->outputAllSolid ) { 1068 1069 this->collPlane = new plane; 1070 this->collPlane->x = 0.0f; 1071 this->collPlane->y = 0.0f; 1072 this->collPlane->z = 0.0f; 1073 testPlane = this->collPlane; 1068 1074 SolidFlag = true; 1069 1075 xCollision = true; … … 1085 1091 if(this->outputFraction < 1.0f ) { 1086 1092 out.z = out.z = dest2.z + (dest2.z -position2.z) * this->outputFraction; 1087 dest2 = dest2 + (dest2 -position2) * this->outputFraction;1093 dest2 = position2 + (dest2 -position2) * this->outputFraction; 1088 1094 zCollision = true; 1089 1095 testPlane = this->collPlane; 1090 1096 1091 1097 } 1092 if(this->outputAllSolid || !this->outputStartsOut) { 1098 if(this->outputAllSolid ) { 1099 this->collPlane = new plane; 1100 this->collPlane->x = 0.0f; 1101 this->collPlane->y = 0.0f; 1102 this->collPlane->z = 0.0f; 1103 testPlane = this->collPlane; 1104 1093 1105 SolidFlag = true; 1094 1106 zCollision = true;
Note: See TracChangeset
for help on using the changeset viewer.