Removed unused lineNumber

This commit is contained in:
Robert Osfield
2017-02-24 11:17:22 +00:00
parent aa621e1a4a
commit cefecaec10
2 changed files with 0 additions and 8 deletions

View File

@@ -23,7 +23,6 @@
namespace osgText {
class OSGTEXT_EXPORT Text : public osgText::TextBase
{
public:
@@ -309,7 +308,6 @@ public:
ColorCoords _colorCoords;
TexCoords _texcoords;
LineNumbers _lineNumbers;
Coords _transformedBackdropCoords[8];

View File

@@ -254,8 +254,6 @@ void Text::computeGlyphRepresentation()
bool horizontal = _layout!=VERTICAL;
bool kerning = true;
unsigned int lineNumber = 0;
float hr = _characterHeight;
float wr = hr/getCharacterAspectRatio();
@@ -445,7 +443,6 @@ void Text::computeGlyphRepresentation()
GlyphQuads& glyphquad = _textureGlyphQuadMap[glyph->getTexture()];
glyphquad._glyphs.push_back(glyph);
glyphquad._lineNumbers.push_back(lineNumber);
glyphquad.addCoord(upLeft);
glyphquad.addCoord(lowLeft);
@@ -521,9 +518,6 @@ void Text::computeGlyphRepresentation()
}
break;
}
++lineNumber;
}
for(TextureGlyphQuadMap::iterator titr=_textureGlyphQuadMap.begin();