Changeset 8935 in orxonox.OLD for branches/single_player_map/src/lib/graphics
- Timestamp:
- Jun 30, 2006, 1:51:57 AM (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
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 -
branches/single_player_map/src/lib/graphics/importer/md2/md2Model.cc
r8894 r8935 85 85 86 86 this->scaleFactor = scale; 87 this->animationSpeed = 1.0f; 87 88 88 89 shadeDots = MD2Model::anormsDots[0]; … … 103 104 this->pModelInfo.pTexCoor = (float*)this->data->pTexCoor; 104 105 105 this->animationSpeed = 1.0f;106 106 107 107 // triangle conversion
Note: See TracChangeset
for help on using the changeset viewer.