Ignore:
Timestamp:
Mar 3, 2012, 1:22:05 AM (12 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • experimental/distortionNG/distortionNG.h

    r313 r329  
    1616
    1717public:
    18         distortionHandler( osg::Camera* camera )
    19     : _highlighter(0), _camera(camera), _highlightColor( osg::Vec4(1.0f, 1.0f, 0.0f, 1.0f) ) {}
     18        distortionHandler( osg::Camera* camera, osg::Geometry* distortionMesh )
     19    : _highlighter(0), _camera(camera), _distortionMesh(distortionMesh), _highlightColor( osg::Vec4(1.0f, 1.0f, 0.0f, 1.0f) ) {}
    2020
    2121    void computeSelectedVertex( osgUtil::LineSegmentIntersector::Intersection& result );
     
    2727        osg::ref_ptr<osg::Geometry> _highlighter;
    2828    osg::observer_ptr<osg::Camera> _camera;
     29        osg::Geometry* _distortionMesh;
    2930        const osg::Vec4 _highlightColor;
    3031};
Note: See TracChangeset for help on using the changeset viewer.