Show
Ignore:
Timestamp:
03/05/10 13:55:08 (4 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/osgSim/SphereSegment

    r9409 r11164  
    195195    @see DrawMask 
    196196    */ 
    197     void setDrawMask(DrawMask dm); 
     197    void setDrawMask(int dm); 
    198198 
    199199    /** Get the DrawMask */ 
    200     DrawMask getDrawMask() const { return _drawMask; } 
     200    int getDrawMask() const { return _drawMask; } 
    201201 
    202202    /** Set the color of the surface. */ 
     
    306306 
    307307    // Draw details 
    308     DrawMask _drawMask; 
    309     osg::Vec4 _surfaceColor; 
    310     osg::Vec4 _spokeColor; 
    311     osg::Vec4 _edgeLineColor; 
    312     osg::Vec4 _planeColor; 
     308    int        _drawMask; 
     309    osg::Vec4   _surfaceColor; 
     310    osg::Vec4   _spokeColor; 
     311    osg::Vec4   _edgeLineColor; 
     312    osg::Vec4   _planeColor; 
    313313}; 
    314314