From Toshiyuki Takeahei, addition of s/getDistance() methods
This commit is contained in:
parent
65244321b4
commit
38a9dc51f8
@ -84,6 +84,12 @@ class OSGGA_EXPORT TrackballManipulator : public MatrixManipulator
|
|||||||
/** Get the size of the trackball. */
|
/** Get the size of the trackball. */
|
||||||
float getTrackballSize() const { return _trackballSize; }
|
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:
|
protected:
|
||||||
|
|
||||||
virtual ~TrackballManipulator();
|
virtual ~TrackballManipulator();
|
||||||
|
Loading…
Reference in New Issue
Block a user