- Timestamp:
- 09/06/06 00:48:55 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/System/Material/Simple/OSGSimpleMaterialBase.inl
r2 r54 91 91 } 92 92 93 #ifdef OSG_1_COMPAT 94 inline 95 Color3r &SimpleMaterialBase::getAmbient(void) 96 { 97 return this->editAmbient(); 98 } 99 #endif 100 93 101 //! Set the value of the SimpleMaterial::_sfAmbient field. 94 102 inline … … 116 124 } 117 125 126 #ifdef OSG_1_COMPAT 127 inline 128 Color3r &SimpleMaterialBase::getDiffuse(void) 129 { 130 return this->editDiffuse(); 131 } 132 #endif 133 118 134 //! Set the value of the SimpleMaterial::_sfDiffuse field. 119 135 inline … … 141 157 } 142 158 159 #ifdef OSG_1_COMPAT 160 inline 161 Color3r &SimpleMaterialBase::getSpecular(void) 162 { 163 return this->editSpecular(); 164 } 165 #endif 166 143 167 //! Set the value of the SimpleMaterial::_sfSpecular field. 144 168 inline … … 166 190 } 167 191 192 #ifdef OSG_1_COMPAT 193 inline 194 Real &SimpleMaterialBase::getShininess(void) 195 { 196 return this->editShininess(); 197 } 198 #endif 199 168 200 //! Set the value of the SimpleMaterial::_sfShininess field. 169 201 inline … … 191 223 } 192 224 225 #ifdef OSG_1_COMPAT 226 inline 227 Color3r &SimpleMaterialBase::getEmission(void) 228 { 229 return this->editEmission(); 230 } 231 #endif 232 193 233 //! Set the value of the SimpleMaterial::_sfEmission field. 194 234 inline … … 216 256 } 217 257 258 #ifdef OSG_1_COMPAT 259 inline 260 Real &SimpleMaterialBase::getTransparency(void) 261 { 262 return this->editTransparency(); 263 } 264 #endif 265 218 266 //! Set the value of the SimpleMaterial::_sfTransparency field. 219 267 inline … … 241 289 } 242 290 291 #ifdef OSG_1_COMPAT 292 inline 293 bool &SimpleMaterialBase::getLit(void) 294 { 295 return this->editLit(); 296 } 297 #endif 298 243 299 //! Set the value of the SimpleMaterial::_sfLit field. 244 300 inline … … 265 321 return _sfColorMaterial.getValue(); 266 322 } 323 324 #ifdef OSG_1_COMPAT 325 inline 326 GLenum &SimpleMaterialBase::getColorMaterial(void) 327 { 328 return this->editColorMaterial(); 329 } 330 #endif 267 331 268 332 //! Set the value of the SimpleMaterial::_sfColorMaterial field.
