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.
This commit is contained in:
@@ -120,7 +120,7 @@ class OSG_EXPORT CullingSet : public Referenced
|
||||
|
||||
typedef std::vector<ShadowVolumeOccluder> OccluderList;
|
||||
|
||||
typedef unsigned int Mask;
|
||||
typedef int Mask;
|
||||
|
||||
enum MaskValues
|
||||
{
|
||||
@@ -140,7 +140,7 @@ class OSG_EXPORT CullingSet : public Referenced
|
||||
SMALL_FEATURE_CULLING|
|
||||
SHADOW_OCCLUSION_CULLING
|
||||
};
|
||||
|
||||
|
||||
void setCullingMask(Mask mask) { _mask = mask; }
|
||||
Mask getCullingMask() const { return _mask; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user