- Timestamp:
- Oct 24, 2008, 2:48:43 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/objects/worldentities/Model.h
r1993 r2006 54 54 { return this->mesh_; } 55 55 56 inline void setCastShadows(bool bCastShadows) 57 { this->bCastShadows_ = bCastShadows; this->changedShadows(); } 58 inline bool getCastShadows() const 59 { return this->bCastShadows_; } 60 56 61 private: 57 62 void changedMesh(); 63 void changedShadows(); 58 64 59 65 std::string meshSrc_; 60 66 Mesh mesh_; 67 bool bCastShadows_; 61 68 }; 62 69 }
Note: See TracChangeset
for help on using the changeset viewer.