Added setting of the charcode during construction of osgText::Font::Glyph()

This commit is contained in:
Robert Osfield
2010-01-14 15:15:42 +00:00
parent f53c3c1036
commit 8f6db66e59
6 changed files with 11 additions and 14 deletions

View File

@@ -278,9 +278,9 @@ public:
{
public:
Glyph();
Glyph(unsigned int glyphCode);
unsigned int getGlyphCode() const;
unsigned int getGlyphCode() const { return _glyphCode; }
void setHorizontalBearing(const osg::Vec2& bearing);
const osg::Vec2& getHorizontalBearing() const;