Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6038 in orxonox.OLD


Ignore:
Timestamp:
Dec 11, 2005, 12:26:48 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: small optimisation

File:
1 edited

Legend:

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

    r6037 r6038  
    7777  glTexCoordPointer(2, GL_FLOAT, 0, this->texCoords.getArray()); 
    7878
    79   for (GLuint i = 0; i+1 < this->stripes.size(); i++)
     79  for (GLuint i = 1; i < this->stripes.size(); ++i)
    8080    {
    8181      glDrawRangeElements(GL_TRIANGLE_STRIP,
    82                           stripes[i],
    83                           stripes[i+1],
     82                          this->stripes[i-1],
     83                          this->stripes[i],
    8484                          this->indices.getCount(),
    8585                          GL_UNSIGNED_BYTE,
Note: See TracChangeset for help on using the changeset viewer.