Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4717 in orxonox.OLD for orxonox/trunk/src/lib/graphics


Ignore:
Timestamp:
Jun 27, 2005, 1:49:58 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: some other md2 files to load

File:
1 edited

Legend:

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

    r4697 r4717  
    203203        }
    204204
     205
    205206      for(; i > 0; i--, pCommands += 3) /* down counting for loop, next 3 gl commands */
    206207        {
     208          glTexCoord2f( ((float *)pCommands)[0], ((float *)pCommands)[1] );
    207209          glNormal3fv(anorms[this->data->pLightNormals[pCommands[2]]]);
    208           glTexCoord2f( ((float *)pCommands)[0], ((float *)pCommands)[1] );
    209210          glVertex3fv(verticesList[pCommands[2]]);
    210211        }
    211212      glEnd();
     213
    212214    }
    213215  glDisable(GL_CULL_FACE);
Note: See TracChangeset for help on using the changeset viewer.