Changeset 3085 in orxonox.OLD for orxonox/branches/images/importer/material.h
- Timestamp:
- Dec 4, 2004, 5:26:18 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/images/importer/material.h
r3070 r3085 15 15 #include <fstream> 16 16 17 // IMAGE LIBS // 18 #include <jpeglib.h> 19 17 20 //! Class to handle Materials. 18 21 class Material … … 22 25 Material (char* mtlName); 23 26 Material* addMaterial(char* mtlName); 27 ~Material (); 28 void init(void); 24 29 25 void init(void);26 ~Material ();30 Material* search (char* mtlName); 31 bool select (void); 27 32 28 33 GLuint diffuseTexture; … … 49 54 void setTransparency (char* trans); 50 55 56 57 58 51 59 // MAPPING // 52 60 void setDiffuseMap(char* dMap); … … 55 63 void setBump(char* bump); 56 64 65 // TEXTURING 57 66 bool loadBMP (char* bmpName, GLuint* texture); 58 59 60 Material* search (char* mtlName);61 62 bool select (void);63 64 Material* nextMat; //!< pointer to the Next Material of the List. NULL if no next exists.65 67 66 68 private: … … 72 74 float shininess; 73 75 float transparency; 76 Material* nextMat; //!< pointer to the Next Material of the List. NULL if no next exists. 74 77 75 78 };
Note: See TracChangeset
for help on using the changeset viewer.