Show
Ignore:
Timestamp:
03/05/10 13:55:08 (5 years ago)
Author:
robert
Message:

Replaced use of unsigned int/enum mask combinations with int/enum mask combinations to avoid the need for casting enums to unsigned ints,
and to avoid associated warnings.

Update wrappers to reflect these changes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osg/CullingSet

    r5328 r11164  
    121121        typedef std::vector<ShadowVolumeOccluder>   OccluderList; 
    122122 
    123         typedef unsigned int Mask; 
     123        typedef int Mask; 
    124124 
    125125        enum MaskValues 
     
    141141                                          SHADOW_OCCLUSION_CULLING 
    142142        }; 
    143          
     143 
    144144        void setCullingMask(Mask mask) { _mask = mask; } 
    145145        Mask getCullingMask() const { return _mask; }