From 9468ab4979a535f5aa984c313ce4b66ec6644345 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 30 Apr 2003 15:38:11 +0000 Subject: [PATCH] Cleanup of the API. --- include/osgText/Text | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/osgText/Text b/include/osgText/Text index 08c6ff0dc..68ab1107c 100644 --- a/include/osgText/Text +++ b/include/osgText/Text @@ -167,6 +167,9 @@ public: void setRotation(const osg::Quat& quat); const osg::Quat& getRotation() const { return _rotation; } + void setScale(float scale); + float getScale() const { return _scale; } + void setAutoUpdateEyeMovementTolerance(float tolerance) { _autoUpdateEyeMovementTolerance = tolerance; } float getAutoUpdateEyeMovementTolerance() const { return _autoUpdateEyeMovementTolerance; } @@ -176,8 +179,6 @@ public: void setAutoScaleToScreen(bool autoScaleToScreen); bool getAutoScaleToScreen() const { return _autoScaleToScreen; } - void setScale(float scale); - float getScale() const { return _scale; } @@ -289,8 +290,8 @@ protected: String _text; osg::Vec3 _position; AlignmentType _alignment; - float _scale; osg::Quat _rotation; + float _scale; float _autoUpdateEyeMovementTolerance; bool _autoRotateToScreen; bool _autoScaleToScreen;