Changeset 5306 in orxonox.OLD for trunk/src/lib/graphics/importer
- Timestamp:
- Oct 7, 2005, 6:17:49 PM (19 years ago)
- Location:
- trunk/src/lib/graphics/importer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/material.cc
r5303 r5306 31 31 32 32 /** 33 * 33 * creates a Material. 34 34 * @param mtlName Name of the Material to be added to the Material List 35 */35 */ 36 36 Material::Material (const char* mtlName) 37 37 { … … 105 105 glShadeModel(GL_SMOOTH); 106 106 107 if (this->diffuseTexture )107 if (this->diffuseTexture != NULL) 108 108 { 109 109 glEnable(GL_TEXTURE_2D); -
trunk/src/lib/graphics/importer/texture.cc
r5305 r5306 33 33 { 34 34 this->setClassID(CL_TEXTURE, "Texture"); 35 this->setName(imageName); 35 36 36 37 this->bAlpha = false;
Note: See TracChangeset
for help on using the changeset viewer.