Changeset 54 for trunk/Source/System/NodeCores/Groups/Base/OSGLightBase.inl
- Timestamp:
- 09/06/06 00:48:55 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/System/NodeCores/Groups/Base/OSGLightBase.inl
r2 r54 91 91 } 92 92 93 #ifdef OSG_1_COMPAT 94 inline 95 Color4r &LightBase::getAmbient(void) 96 { 97 return this->editAmbient(); 98 } 99 #endif 100 93 101 //! Set the value of the Light::_sfAmbient field. 94 102 inline … … 116 124 } 117 125 126 #ifdef OSG_1_COMPAT 127 inline 128 Color4r &LightBase::getDiffuse(void) 129 { 130 return this->editDiffuse(); 131 } 132 #endif 133 118 134 //! Set the value of the Light::_sfDiffuse field. 119 135 inline … … 141 157 } 142 158 159 #ifdef OSG_1_COMPAT 160 inline 161 Color4r &LightBase::getSpecular(void) 162 { 163 return this->editSpecular(); 164 } 165 #endif 166 143 167 //! Set the value of the Light::_sfSpecular field. 144 168 inline … … 183 207 } 184 208 209 #ifdef OSG_1_COMPAT 210 inline 211 bool &LightBase::getOn(void) 212 { 213 return this->editOn(); 214 } 215 #endif 216 185 217 //! Set the value of the Light::_sfOn field. 186 218 inline … … 208 240 } 209 241 242 #ifdef OSG_1_COMPAT 243 inline 244 Real &LightBase::getConstantAttenuation(void) 245 { 246 return this->editConstantAttenuation(); 247 } 248 #endif 249 210 250 //! Set the value of the Light::_sfConstantAttenuation field. 211 251 inline … … 233 273 } 234 274 275 #ifdef OSG_1_COMPAT 276 inline 277 Real &LightBase::getLinearAttenuation(void) 278 { 279 return this->editLinearAttenuation(); 280 } 281 #endif 282 235 283 //! Set the value of the Light::_sfLinearAttenuation field. 236 284 inline … … 257 305 return _sfQuadraticAttenuation.getValue(); 258 306 } 307 308 #ifdef OSG_1_COMPAT 309 inline 310 Real &LightBase::getQuadraticAttenuation(void) 311 { 312 return this->editQuadraticAttenuation(); 313 } 314 #endif 259 315 260 316 //! Set the value of the Light::_sfQuadraticAttenuation field.
