Show
Ignore:
Timestamp:
09/06/06 00:48:55 (2 years ago)
Author:
vossg
Message:

fixed : missing symbols (compat mode)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/System/Material/Simple/OSGSimpleMaterialBase.inl

    r2 r54  
    9191} 
    9292 
     93#ifdef OSG_1_COMPAT 
     94inline 
     95Color3r &SimpleMaterialBase::getAmbient(void) 
     96{ 
     97    return this->editAmbient(); 
     98} 
     99#endif 
     100 
    93101//! Set the value of the SimpleMaterial::_sfAmbient field. 
    94102inline 
     
    116124} 
    117125 
     126#ifdef OSG_1_COMPAT 
     127inline 
     128Color3r &SimpleMaterialBase::getDiffuse(void) 
     129{ 
     130    return this->editDiffuse(); 
     131} 
     132#endif 
     133 
    118134//! Set the value of the SimpleMaterial::_sfDiffuse field. 
    119135inline 
     
    141157} 
    142158 
     159#ifdef OSG_1_COMPAT 
     160inline 
     161Color3r &SimpleMaterialBase::getSpecular(void) 
     162{ 
     163    return this->editSpecular(); 
     164} 
     165#endif 
     166 
    143167//! Set the value of the SimpleMaterial::_sfSpecular field. 
    144168inline 
     
    166190} 
    167191 
     192#ifdef OSG_1_COMPAT 
     193inline 
     194Real &SimpleMaterialBase::getShininess(void) 
     195{ 
     196    return this->editShininess(); 
     197} 
     198#endif 
     199 
    168200//! Set the value of the SimpleMaterial::_sfShininess field. 
    169201inline 
     
    191223} 
    192224 
     225#ifdef OSG_1_COMPAT 
     226inline 
     227Color3r &SimpleMaterialBase::getEmission(void) 
     228{ 
     229    return this->editEmission(); 
     230} 
     231#endif 
     232 
    193233//! Set the value of the SimpleMaterial::_sfEmission field. 
    194234inline 
     
    216256} 
    217257 
     258#ifdef OSG_1_COMPAT 
     259inline 
     260Real &SimpleMaterialBase::getTransparency(void) 
     261{ 
     262    return this->editTransparency(); 
     263} 
     264#endif 
     265 
    218266//! Set the value of the SimpleMaterial::_sfTransparency field. 
    219267inline 
     
    241289} 
    242290 
     291#ifdef OSG_1_COMPAT 
     292inline 
     293bool &SimpleMaterialBase::getLit(void) 
     294{ 
     295    return this->editLit(); 
     296} 
     297#endif 
     298 
    243299//! Set the value of the SimpleMaterial::_sfLit field. 
    244300inline 
     
    265321    return _sfColorMaterial.getValue(); 
    266322} 
     323 
     324#ifdef OSG_1_COMPAT 
     325inline 
     326GLenum &SimpleMaterialBase::getColorMaterial(void) 
     327{ 
     328    return this->editColorMaterial(); 
     329} 
     330#endif 
    267331 
    268332//! Set the value of the SimpleMaterial::_sfColorMaterial field.