- Timestamp:
- 05/05/08 06:39:01 (7 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/System/Material/Base/OSGSimpleMaterialBase.inl
r996 r1193 86 86 //! Get the value of the SimpleMaterial::_sfAmbient field. 87 87 inline 88 const Color3r &SimpleMaterialBase::getAmbient(void) const88 const Color3r SimpleMaterialBase::getAmbient(void) const 89 89 { 90 90 return _sfAmbient.getValue(); … … 119 119 //! Get the value of the SimpleMaterial::_sfDiffuse field. 120 120 inline 121 const Color3r &SimpleMaterialBase::getDiffuse(void) const121 const Color3r SimpleMaterialBase::getDiffuse(void) const 122 122 { 123 123 return _sfDiffuse.getValue(); … … 152 152 //! Get the value of the SimpleMaterial::_sfSpecular field. 153 153 inline 154 const Color3r &SimpleMaterialBase::getSpecular(void) const154 const Color3r SimpleMaterialBase::getSpecular(void) const 155 155 { 156 156 return _sfSpecular.getValue(); … … 185 185 //! Get the value of the SimpleMaterial::_sfShininess field. 186 186 inline 187 const Real &SimpleMaterialBase::getShininess(void) const187 const Real SimpleMaterialBase::getShininess(void) const 188 188 { 189 189 return _sfShininess.getValue(); … … 218 218 //! Get the value of the SimpleMaterial::_sfEmission field. 219 219 inline 220 const Color3r &SimpleMaterialBase::getEmission(void) const220 const Color3r SimpleMaterialBase::getEmission(void) const 221 221 { 222 222 return _sfEmission.getValue(); … … 251 251 //! Get the value of the SimpleMaterial::_sfTransparency field. 252 252 inline 253 const Real &SimpleMaterialBase::getTransparency(void) const253 const Real SimpleMaterialBase::getTransparency(void) const 254 254 { 255 255 return _sfTransparency.getValue(); … … 284 284 //! Get the value of the SimpleMaterial::_sfLit field. 285 285 inline 286 const bool &SimpleMaterialBase::getLit(void) const286 const bool SimpleMaterialBase::getLit(void) const 287 287 { 288 288 return _sfLit.getValue(); … … 317 317 //! Get the value of the SimpleMaterial::_sfColorMaterial field. 318 318 inline 319 const GLenum &SimpleMaterialBase::getColorMaterial(void) const319 const GLenum SimpleMaterialBase::getColorMaterial(void) const 320 320 { 321 321 return _sfColorMaterial.getValue();
