Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

better axis now

File:
1 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
Note: See TracChangeset for help on using the changeset viewer.