Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 1, 2005, 8:19:26 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: small changes in the Texture interface

File:
1 edited

Legend:

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

    r5858 r5859  
    2727
    2828      /** @returns The textureID of this texture.  */
    29       inline GLuint getFrameTexture(unsigned int frameNumber);// const { return this->textures; };
     29      inline GLuint getFrameTexture(unsigned int frameNumber) const { return this->textures[frameNumber]; };
    3030
    31       const SDL_Surface* const getFrameImage() const { };
     31      const SDL_Surface* const getFrameImage(unsigned int frameNumber) const { return this->images[frameNumber]; };
    3232
    3333    private:
Note: See TracChangeset for help on using the changeset viewer.