Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8575 in orxonox.OLD for branches/gui/src/lib/graphics


Ignore:
Timestamp:
Jun 18, 2006, 11:01:40 PM (19 years ago)
Author:
bensch
Message:

gui: better names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/graphics/importer/material.h

    r8572 r8575  
    5959  void setSpecularMap(const std::string& sMap, GLenum target = GL_TEXTURE_2D);
    6060  void setBump(const std::string& bump);
    61   GLuint getDiffuseTexture(unsigned int i = 0) const { return (this->textures.size() > i)? this->textures[i].getTexture() : 0; };
     61
     62  GLuint diffuseTextureID(unsigned int i = 0) const { return (this->textures.size() > i)? this->textures[i].getTexture() : 0; };
     63
     64  const Texture& diffuseTexture(unsigned int i = 0) const { return this->textures[i]; };
    6265
    6366  static void addTexturePath(const std::string& pathName);
Note: See TracChangeset for help on using the changeset viewer.