blob: 220bf9cf309f2631a66754c00e03f4cdd8369150 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef _TEXT_H_
#define _TEXT_H_
/**> HEADER FILES <**/
#include "Quaternions.h"
#include <GL/gl.h>
#include <GL/glu.h>
#include "Files.h"
#include "Quaternions.h"
class Text{
public:
GLuint FontTexture;
GLuint base;
void LoadFontTexture(char *fileName);
void BuildFont();
void glPrint(GLint x, GLint y, char *string, int set, float size, float width, float height);
~Text(){
glDeleteTextures( 1, (const GLuint *)FontTexture );
}
};
#endif
|