Code cleanup: remove unnecessary `print' routines

This commit is contained in:
vrld
2011-01-02 22:58:53 +01:00
parent 4df411d95a
commit 28df1edf03
5 changed files with 3 additions and 80 deletions
+1 -28
View File
@@ -397,33 +397,6 @@ namespace opengl
**/
int getMaxPointSize();
/**
* Draw text on screen at the specified coordiantes (automatically breaks \n characters).
*
* @param str A string of text.
* @param x The x-coordiante.
* @param y The y-coordiante.
**/
void print(const char * str, float x, float y);
/**
* Draws text at the specified coordinates, with rotation.
* @param x The x-coordinate.
* @param y The y-coordinate.
* @param angle The amount of rotation.
**/
void print(const char * str, float x, float y , float angle);
/**
* Draws text at the specified coordinates, with rotation and
* scaling.
* @param x The x-coordinate.
* @param y The y-coordinate.
* @param angle The amount of rotation.
* @param s The scale factor. (1 = normal).
**/
void print(const char * str, float x, float y , float angle, float s);
/**
* Draws text at the specified coordinates, with rotation and
* scaling along both axes.
@@ -433,7 +406,7 @@ namespace opengl
* @param sx The scale factor along the x-axis. (1 = normal).
* @param sy The scale factor along the y-axis. (1 = normal).
**/
void print(const char * str, float x, float y , float angle, float sx, float sy);
void print(const char * str, float x, float y , float angle = 0.0f, float sx = 1.0f, float sy = 1.0f);
/**
* Draw formatted text on screen at the specified coordinates.