Changeset 54 for trunk/Source/System/NodeCores/Groups/Base/OSGLightBase.cpp
- 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.cpp
r2 r54 323 323 } 324 324 325 #ifdef OSG_1_COMPAT 326 SFColor4r *LightBase::getSFAmbient(void) 327 { 328 return this->editSFAmbient(); 329 } 330 #endif 331 325 332 SFColor4r *LightBase::editSFDiffuse(void) 326 333 { … … 335 342 } 336 343 344 #ifdef OSG_1_COMPAT 345 SFColor4r *LightBase::getSFDiffuse(void) 346 { 347 return this->editSFDiffuse(); 348 } 349 #endif 350 337 351 SFColor4r *LightBase::editSFSpecular(void) 338 352 { … … 346 360 return &_sfSpecular; 347 361 } 362 363 #ifdef OSG_1_COMPAT 364 SFColor4r *LightBase::getSFSpecular(void) 365 { 366 return this->editSFSpecular(); 367 } 368 #endif 348 369 349 370 //! Get the Light::_sfBeacon field. … … 365 386 } 366 387 388 #ifdef OSG_1_COMPAT 389 SFBool *LightBase::getSFOn(void) 390 { 391 return this->editSFOn(); 392 } 393 #endif 394 367 395 SFReal *LightBase::editSFConstantAttenuation(void) 368 396 { … … 377 405 } 378 406 407 #ifdef OSG_1_COMPAT 408 SFReal *LightBase::getSFConstantAttenuation(void) 409 { 410 return this->editSFConstantAttenuation(); 411 } 412 #endif 413 379 414 SFReal *LightBase::editSFLinearAttenuation(void) 380 415 { … … 389 424 } 390 425 426 #ifdef OSG_1_COMPAT 427 SFReal *LightBase::getSFLinearAttenuation(void) 428 { 429 return this->editSFLinearAttenuation(); 430 } 431 #endif 432 391 433 SFReal *LightBase::editSFQuadraticAttenuation(void) 392 434 { … … 400 442 return &_sfQuadraticAttenuation; 401 443 } 444 445 #ifdef OSG_1_COMPAT 446 SFReal *LightBase::getSFQuadraticAttenuation(void) 447 { 448 return this->editSFQuadraticAttenuation(); 449 } 450 #endif 402 451 403 452 //! Get the Light::_sfLightEngine field.
