Converted the instances of const built in types being returned from methods
and passed as paramters into straight forward non const built in types, i.e. const bool foogbar(const int) becomes bool foobar(int).
This commit is contained in:
@@ -71,7 +71,7 @@ class OSGTEXT_EXPORT Font : public osg::Object
|
||||
bool open(const char* font);
|
||||
bool open(const std::string& font);
|
||||
|
||||
virtual bool create(osg::State& state,int pointSize, const unsigned int res = 72 );
|
||||
virtual bool create(osg::State& state,int pointSize, unsigned int res = 72 );
|
||||
virtual bool create(osg::State& state);
|
||||
virtual void output(osg::State& state,const char* text);
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ class OSGTEXT_EXPORT Paragraph : public osg::Geode
|
||||
const osgText::Font* getFont() const { return _font.get(); }
|
||||
|
||||
void setMaximumNoCharactersPerLine(unsigned int maxCharsPerLine);
|
||||
const unsigned int getMaximumNoCharactersPerLine() const { return _maxCharsPerLine; }
|
||||
unsigned int getMaximumNoCharactersPerLine() const { return _maxCharsPerLine; }
|
||||
|
||||
void setText(const std::string& text);
|
||||
std::string& getText() { return _text; }
|
||||
|
||||
@@ -123,7 +123,7 @@ class OSGTEXT_EXPORT Text : public osg::Drawable
|
||||
virtual ~Text();
|
||||
|
||||
virtual void setDefaults(void);
|
||||
virtual const bool computeBound(void) const;
|
||||
virtual bool computeBound(void) const;
|
||||
virtual void calcBounds(osg::Vec3* min,osg::Vec3* max) const;
|
||||
void initAlignment(osg::Vec3* min,osg::Vec3* max);
|
||||
bool initAlignment(void);
|
||||
|
||||
Reference in New Issue
Block a user