Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6769 in orxonox.OLD for trunk/src/lib/graphics/importer/material.h


Ignore:
Timestamp:
Jan 26, 2006, 2:09:53 PM (18 years ago)
Author:
bensch
Message:

trunk: vertexArrayModel with TexCoords

File:
1 edited

Legend:

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

    r6622 r6769  
    1818#endif
    1919
     20#include "texture.h"
     21
    2022// FORWARD DECLARATIONS //
    21 class Texture;
    2223
    2324//! Class to handle Materials.
     
    5152  void setSpecularMap(const char* sMap, GLenum target = GL_TEXTURE_2D);
    5253  void setBump(const char* bump);
     54  GLuint getDiffuseTexture() const { return (this->diffuseTexture)? this->diffuseTexture->getTexture() : 0; };
    5355
    5456  static void addTexturePath(const char* pathName);
Note: See TracChangeset for help on using the changeset viewer.