Changeset 9896 for OpenSceneGraph/trunk/include/osgGA/TrackballManipulator
- Timestamp:
- 03/11/09 11:50:03 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osgGA/TrackballManipulator
r7648 r9896 79 79 double getMinimumZoomScale() const { return _minimumZoomScale; } 80 80 81 /** set the mouse scroll wheel zoom delta. 82 * Range -1.0 to +1.0, -ve value inverts wheel direction and zero switches off scroll wheel. */ 83 void setScroolWheelZoomDelta(double zoomDelta) { _zoomDelta = zoomDelta; } 84 85 /** get the mouse scroll wheel zoom delta. */ 86 double getScroolWheelZoomDelta() const { return _zoomDelta; } 87 81 88 /** Set the center of the trackball. */ 82 89 void setCenter(const osg::Vec3d& center) { _center = center; } … … 140 147 double _distance; 141 148 float _trackballSize; 149 float _zoomDelta; 142 150 143 151 };
