From Toshiyuki Takeahei, addition of s/getDistance() methods

This commit is contained in:
Robert Osfield 2005-11-18 14:49:05 +00:00
parent 65244321b4
commit 38a9dc51f8

View File

@ -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();