Removed unused lineNumber
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user