Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10460 in orxonox.OLD for trunk/src/lib/graphics/importer/texture.h


Ignore:
Timestamp:
Jan 28, 2007, 9:26:08 PM (17 years ago)
Author:
patrick
Message:

some texture attributes, camera target fix

File:
1 edited

Legend:

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

    r9882 r10460  
    5555  static GLuint loadTexToGL (const SDL_Surface* surface, GLenum target = GL_TEXTURE_2D);
    5656
     57  float getHeight() { return this->data->getHeight(); }
     58  float getWidth() { return this->data->getWidth(); }
     59
    5760protected:
    5861  bool setSurface(SDL_Surface* newSurface) { return this->data->setSurface(newSurface); };
Note: See TracChangeset for help on using the changeset viewer.