1
0
Fork 0
blockofighter/src/font.h

13 lines
290 B
C
Raw Normal View History

2014-02-16 14:32:28 +00:00
#ifndef __FONT_H_INCLUDED__
#define __FONT_H_INCLUDED__
#include "texture.h"
extern Texture *fonttexture;
2015-06-03 12:29:34 +00:00
// Top left = 0.0 , 0.0 Bottom right = 1.0 , 1.0
2014-02-16 14:32:28 +00:00
void drawChar(float x, float y, char ch, float size = 0.05);
void print(float x, float y, char *text, float size = 0.05);
#endif