From 38a9dc51f8ddaaa6afaab934cab7fa5e8a8ea1c7 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 18 Nov 2005 14:49:05 +0000 Subject: [PATCH] From Toshiyuki Takeahei, addition of s/getDistance() methods --- include/osgGA/TrackballManipulator | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/osgGA/TrackballManipulator b/include/osgGA/TrackballManipulator index df1e11fc0..e52054de2 100644 --- a/include/osgGA/TrackballManipulator +++ b/include/osgGA/TrackballManipulator @@ -84,6 +84,12 @@ class OSGGA_EXPORT TrackballManipulator : public MatrixManipulator /** Get the size of the trackball. */ float getTrackballSize() const { return _trackballSize; } + /** Set the distance of the trackball. */ + void setDistance(double distance) { _distance = distance; } + + /** Get the distance of the trackball. */ + double getDistance() const { return _distance; } + protected: virtual ~TrackballManipulator();