Typo fix.
This commit is contained in:
@@ -97,7 +97,7 @@ public:
|
||||
|
||||
|
||||
/** Set the rendered character size in object coordinates.*/
|
||||
void setCharacterSize(float height,float ascpectRatio=1.0f);
|
||||
void setCharacterSize(float height,float aspectRatio=1.0f);
|
||||
|
||||
float getCharacterHeight() const { return _characterHeight; }
|
||||
float getCharacterAspectRatio() const { return _characterAspectRatio; }
|
||||
|
||||
@@ -76,10 +76,10 @@ void Text::setFontSize(unsigned int width, unsigned int height)
|
||||
}
|
||||
|
||||
|
||||
void Text::setCharacterSize(float height,float ascpectRatio)
|
||||
void Text::setCharacterSize(float height,float aspectRatio)
|
||||
{
|
||||
_characterHeight = height;
|
||||
_characterAspectRatio = ascpectRatio;
|
||||
_characterAspectRatio = aspectRatio;
|
||||
computeGlyphRepresentation();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user