Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10771 in orxonox.OLD for branches/presentation/src/lib


Ignore:
Timestamp:
Jun 27, 2007, 7:01:08 PM (17 years ago)
Author:
nicolasc
Message:

huge diff
cleaned the individual weapons, moved stuff to weapon.{cc,h}
and some minor fixes which popped up then and when

Location:
branches/presentation/src/lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/lib/collision_detection/aabb_tree_node.cc

    r10698 r10771  
    882882
    883883  /* DRAW SEPARATING PLANE */
    884   if( drawMode & DRAW_SEPARATING_PLANE || drawMode & DRAW_ALL)
     884  if( (drawMode & DRAW_SEPARATING_PLANE) || (drawMode & DRAW_ALL))
    885885  {
    886886    if( !(drawMode & DRAW_SINGLE && depth != 0))
  • branches/presentation/src/lib/collision_detection/obb_tree_node.cc

    r10618 r10771  
    782782
    783783  /* DRAW POLYGONS */
    784   if( drawMode & DRAW_BV_POLYGON || drawMode & DRAW_ALL || drawMode & DRAW_BV_BLENDED)
     784  if(( drawMode & DRAW_BV_POLYGON) || (drawMode & DRAW_ALL) || (drawMode & DRAW_BV_BLENDED))
    785785  {
    786786    if (top)
     
    932932
    933933  /* DRAW SEPARATING PLANE */
    934   if( drawMode & DRAW_SEPARATING_PLANE || drawMode & DRAW_ALL)
     934  if( (drawMode & DRAW_SEPARATING_PLANE) || drawMode & DRAW_ALL)
    935935  {
    936936    if( !(drawMode & DRAW_SINGLE && depth != 0))
  • branches/presentation/src/lib/graphics/importer/static_model.cc

    r10770 r10771  
    211211    }
    212212
    213 //     printf("adding MP\n");
     213
    214214     this->addMountPoint( zAxis, yAxis, center, groupName);
    215       // remove the group from the model list (mount points do not need to be drawn)
    216 //      std::vector<StaticModelData::Group>::iterator tmpIt =  groupIt;
    217 //      groupIt++;
     215     // remove the group from the model list (mount points do not need to be drawn)
     216     // remoing item iterates greoupIt!
    218217     this->data->getGroups().erase(groupIt);
    219218  }
Note: See TracChangeset for help on using the changeset viewer.