void initialise(unsigned int aFontSize=16 *38)
Initialise the default font.
Class to render text using OpenGL and FreeType2.
void renderText(const std::string &aText, float x, float y, Matrix4x4< GLfloat > &aProjectionMatrix, GLfloat *apBackgroundColour, GLfloat *apFontColour)
Display some text.
TextRenderer is a class to render text using OpenGL and FreeType2.
void initialiseInternalStates(unsigned int aFontSize)
Initialise internal states.
void initialize(unsigned int aFontSize=16 *38)
Initialise the default font.
bool m_initialised
Flag set to true when the fond is initialised.
bool isInitialised() const
Accessor on the initialisation flag.