Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 3, 2006, 3:02:32 PM (18 years ago)
Author:
bensch
Message:

material updated, so now select first deselects tho old Material

File:
1 edited

Legend:

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

    r7510 r7513  
    6767
    6868  private:
    69     int         illumModel;       //!< The IlluminationModel is either flat or smooth.
    70     float       diffuse [4];      //!< The diffuse color of the Material.
    71     float       ambient [4];      //!< The ambient color of the Material.
    72     float       specular [4];     //!< The specular color of the Material.
    73     float       shininess;        //!< The shininess of the Material.
    74     float       transparency;     //!< The transperency of the Material.
    75     GLenum      sFactor;
    76     GLenum      tFactor;
     69    static Material* selectedMaterial; //!< The currently selected material.
    7770
    78     std::vector<Texture*> textures; //!< An Array of Textures.
     71    int              illumModel;       //!< The IlluminationModel is either flat or smooth.
     72    float            diffuse [4];      //!< The diffuse color of the Material.
     73    float            ambient [4];      //!< The ambient color of the Material.
     74    float            specular [4];     //!< The specular color of the Material.
     75    float            shininess;        //!< The shininess of the Material.
     76    float            transparency;     //!< The transperency of the Material.
     77    GLenum           sFactor;
     78    GLenum           tFactor;
    7979
    80     Texture*    ambientTexture;   //!< The ambient texture of the Material.
    81     Texture*    specularTexture;  //!< The specular texture of the Material.
     80    std::vector<Texture*> textures;    //!< An Array of Textures.
     81
     82    Texture*         ambientTexture;   //!< The ambient texture of the Material.
     83    Texture*         specularTexture;  //!< The specular texture of the Material.
    8284
    8385
Note: See TracChangeset for help on using the changeset viewer.