Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 28, 2005, 12:05:46 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: now Textures are maped as they should
before this textures where switched upside-down, now this is done in the corresponding model's textureCoordinate

File:
1 edited

Legend:

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

    r4284 r4357  
    221221        {
    222222          glNormal3fv(anorms[this->data->pLightNormals[pCommands[2]]]);
    223           glTexCoord2f( ((float *)pCommands)[0], 1.0-((float *)pCommands)[1] );
     223          glTexCoord2f( ((float *)pCommands)[0], ((float *)pCommands)[1] );
    224224          glVertex3fv(verticesList[pCommands[2]]);
    225225        }
Note: See TracChangeset for help on using the changeset viewer.