Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8935 in orxonox.OLD


Ignore:
Timestamp:
Jun 30, 2006, 1:51:57 AM (18 years ago)
Author:
patrick
Message:

better axis now

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  
    986986
    987987  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);
    990990
    991991    position1 = worldEntity->getAbsCoor() +  box->center + worldEntity->getAbsDirX() * (box->halfLength[0]  + BSP_X_OFFSET);
     
    999999
    10001000  }
     1001
     1002//   worldEntity->getAbsDirX().debug();
    10011003
    10021004
  • branches/single_player_map/src/lib/graphics/importer/md2/md2Model.cc

    r8894 r8935  
    8585
    8686  this->scaleFactor = scale;
     87  this->animationSpeed = 1.0f;
    8788
    8889  shadeDots = MD2Model::anormsDots[0];
     
    103104  this->pModelInfo.pTexCoor = (float*)this->data->pTexCoor;
    104105
    105   this->animationSpeed = 1.0f;
    106106
    107107  // triangle conversion
Note: See TracChangeset for help on using the changeset viewer.