Typo fix.

This commit is contained in:
Robert Osfield
2003-03-03 20:24:49 +00:00
parent fe978ac122
commit 99e7c50d7a
2 changed files with 3 additions and 3 deletions

View File

@@ -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; }

View File

@@ -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();
}