Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3896 in orxonox.OLD


Ignore:
Timestamp:
Apr 19, 2005, 6:59:39 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: removed sensless stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/graphics/importer/primitive_model.cc

    r3895 r3896  
    163163      p1 = 2*i+1;
    164164      p2 = 2*i+2;
    165       if (i <= detail);
    166165      p3 = 2*i+4;
    167166      p4 = 2*i+3;
     
    171170      this->addFace(3, VERTEX_ONLY, p2, p3, 2*detail+2);
    172171    }
    173   addFace(4, VERTEX_ONLY, 2*detail-1, 2*detail, 2, 1);
     172  // caps
     173  this->addFace(4, VERTEX_ONLY, 2*detail-1, 2*detail, 2, 1);
    174174  this->addFace(3, VERTEX_ONLY, 1, 2*detail-1, 2*detail+1);
    175175  this->addFace(3, VERTEX_ONLY, 2*detail, 2, 2*detail+2);
Note: See TracChangeset for help on using the changeset viewer.