Changeset 3070 in orxonox.OLD for orxonox/trunk/importer/material.h
- Timestamp:
- Dec 3, 2004, 8:22:38 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/importer/material.h
r3069 r3070 11 11 #include <GL/gl.h> 12 12 #include <GL/glu.h> 13 #include <SDL/SDL.h> 13 14 #include <stdlib.h> 14 15 #include <fstream> … … 25 26 ~Material (); 26 27 28 GLuint diffuseTexture; 29 GLuint ambientTexture; 30 GLuint specularTexture; 31 32 bool diffuseTextureSet; 33 bool ambientTextureSet; 34 bool specularTextureSet; 27 35 28 36 void setName (char* mtlName); … … 40 48 void setTransparency (float trans); 41 49 void setTransparency (char* trans); 50 51 // MAPPING // 52 void setDiffuseMap(char* dMap); 53 void setAmbientMap(char* aMap); 54 void setSpecularMap(char* sMap); 55 void setBump(char* bump); 56 57 bool loadBMP (char* bmpName, GLuint* texture); 58 42 59 43 60 Material* search (char* mtlName);
Note: See TracChangeset
for help on using the changeset viewer.