Changeset 8583 in orxonox.OLD for branches/gui/src/lib/graphics/importer/material.cc
- Timestamp:
- Jun 19, 2006, 1:20:42 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/graphics/importer/material.cc
r8572 r8583 49 49 this->setName(mtlName); 50 50 } 51 52 Material& Material::operator=(const Material& material) 53 { 54 this->setIllum(material.illumModel); 55 this->setDiffuseColor(material.diffuseColor()); 56 this->specular = material.specular; 57 this->ambient = material.ambient; 58 this->setShininess(material.shininess); 59 60 this->textures = material.textures; 61 this->sFactor = material.sFactor; 62 this->tFactor = material.tFactor; 63 this->setName(material.getName()); 64 65 return *this; 66 } 67 68 51 69 52 70 void Material::loadParams(const TiXmlElement* root)
Note: See TracChangeset
for help on using the changeset viewer.