Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 28, 2005, 4:20:02 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: objModel's materials should now automatically load textures

File:
1 edited

Legend:

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

    r4357 r4370  
    4444    glDeleteTextures(1, &this->texture);
    4545}
    46 
    47 /**
    48    \brief a Simple function that switches two char values
    49    \param a The first value
    50    \param b The second value
    51 */
    52 void Texture::swap (unsigned char &a, unsigned char &b)
    53 {
    54   unsigned char temp;
    55   temp = a;
    56   a    = b;
    57   b    = temp;
    58 }
    59 
    6046
    6147/**
Note: See TracChangeset for help on using the changeset viewer.