Added set/getDistance() method

This commit is contained in:
Robert Osfield
2010-01-05 11:09:18 +00:00
parent 43709c0de7
commit bbf1ef45ee
4 changed files with 39 additions and 0 deletions

View File

@@ -106,6 +106,12 @@ public:
/** Get the FusionDistanceValue. Used by SceneView for setting up stereo convergence.*/
virtual float getFusionDistanceValue() const { return _current->getFusionDistanceValue(); }
/** Set the distance property. */
void setDistance(double distance);
/** Get the distance property. */
double getDistance() const;
virtual void setNode(osg::Node* n);