Changeset 4466 in orxonox.OLD for orxonox/trunk/src/lib/graphics/importer/material.h
- Timestamp:
- Jun 2, 2005, 1:37:53 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/importer/material.h
r4370 r4466 15 15 16 16 #ifndef NULL 17 #define NULL 0 17 #define NULL 0 //!< a pointer to NULL 18 18 #endif 19 19 20 20 // FORWARD DEFINITIONS // 21 21 class Texture; 22 23 22 24 23 //! Class to handle Materials. … … 46 45 void setTransparency (char* trans); 47 46 48 49 50 static void addTexturePath(const char* pathName);51 47 // MAPPING // 52 48 void setDiffuseMap(const char* dMap); … … 55 51 void setBump(const char* bump); 56 52 53 static void addTexturePath(const char* pathName); 54 57 55 private: 58 char* name;//!< The Name of the Material.59 int illumModel;//!< The IlluminationModel is either flat or smooth.60 float diffuse [4];//!< The diffuse color of the Material.61 float ambient [4];//!< The ambient color of the Material.62 float specular [4];//!< The specular color of the Material.63 float shininess;//!< The shininess of the Material.64 float transparency;//!< The transperency of the Material.56 char* name; //!< The Name of the Material. 57 int illumModel; //!< The IlluminationModel is either flat or smooth. 58 float diffuse [4]; //!< The diffuse color of the Material. 59 float ambient [4]; //!< The ambient color of the Material. 60 float specular [4]; //!< The specular color of the Material. 61 float shininess; //!< The shininess of the Material. 62 float transparency; //!< The transperency of the Material. 65 63 66 Texture* diffuseTexture;//!< The diffuse texture of the Material.67 Texture* ambientTexture;//!< The ambient texture of the Material.68 Texture* specularTexture;//!< The specular texture of the Material.64 Texture* diffuseTexture; //!< The diffuse texture of the Material. 65 Texture* ambientTexture; //!< The ambient texture of the Material. 66 Texture* specularTexture; //!< The specular texture of the Material. 69 67 }; 70 68 #endif
Note: See TracChangeset
for help on using the changeset viewer.