Changeset 11783 for code/trunk/src/orxonox/graphics
- Timestamp:
- Feb 20, 2018, 12:14:40 AM (7 years ago)
- Location:
- code/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/graphics/Model.cc
r11080 r11783 155 155 this->mesh_.setMaterial(this->materialName_); 156 156 } 157 158 // PRE: a valid Ogre::Entity* entity with a valid subentity at index 159 // POST: changed material of subentity at index to name 160 void Model::setSubMaterial(const std::string& name, const int index){ 161 this->mesh_.setSubMaterial(name, index); 162 } 163 157 164 158 165 void Model::changedShadows() -
code/trunk/src/orxonox/graphics/Model.h
r11080 r11783 86 86 { return this->materialName_; } 87 87 88 void setSubMaterial(const std::string& name, const int index); 89 88 90 protected: 89 91 /**
Note: See TracChangeset
for help on using the changeset viewer.