Changeset 329 for experimental/distortionNG/distortionNG.h
- Timestamp:
- Mar 3, 2012, 1:22:05 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/distortionNG/distortionNG.h
r313 r329 16 16 17 17 public: 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) ) {} 20 20 21 21 void computeSelectedVertex( osgUtil::LineSegmentIntersector::Intersection& result ); … … 27 27 osg::ref_ptr<osg::Geometry> _highlighter; 28 28 osg::observer_ptr<osg::Camera> _camera; 29 osg::Geometry* _distortionMesh; 29 30 const osg::Vec4 _highlightColor; 30 31 };
Note: See TracChangeset
for help on using the changeset viewer.