Changeset 2853 in orxonox.OLD for orxonox/trunk/src/material.h
- Timestamp:
- Nov 14, 2004, 6:41:02 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/material.h
r2835 r2853 1 /*! 2 \file material.h 3 \brief Contains the Material Class that handles Material for 3D-Objects. 4 */ 5 1 6 #ifndef _MATERIAL_H 2 7 #define _MATERIAL_H 3 8 4 extern int verbose; 9 extern int verbose; //!< will be obsolete soon. 5 10 6 11 #include <GL/gl.h> … … 9 14 #include <fstream> 10 15 16 //! Class to handle Materials. 11 17 class Material 12 18 { … … 30 36 void setSpecular (float r, float g, float b); 31 37 void setSpecular (char* rgb); 38 void setShininess (float shini); 39 void setShininess (char* shini); 32 40 void setTransparency (float trans); 33 41 void setTransparency (char* trans); … … 37 45 bool select (void); 38 46 39 Material* nextMat; 47 Material* nextMat; //!< pointer to the Next Material of the List. NULL if no next exists. 40 48 41 49 private: … … 45 53 float ambient [4]; 46 54 float specular [4]; 55 float shininess; 47 56 float transparency; 48 57
Note: See TracChangeset
for help on using the changeset viewer.