Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 23, 2005, 11:29:18 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: possibility to return the count of faces of some Object

File:
1 edited

Legend:

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

    r4580 r4677  
    145145  this->normalCount = 0;
    146146  this->texCoordCount = 0;
     147  this->faceCount = 0;
    147148
    148149  this->scaleFactor = 1;
     
    553554
    554555  this->currentGroup->faceCount += this->currentGroup->currentFace->vertexCount -2;
     556  this->faceCount += this->currentGroup->currentFace->vertexCount -2;
    555557}
    556558
     
    585587
    586588  this->currentGroup->faceCount += this->currentGroup->currentFace->vertexCount - 2;
     589  this->faceCount += this->currentGroup->currentFace->vertexCount -2;
    587590}
    588591
Note: See TracChangeset for help on using the changeset viewer.