Converted all ints to floats for x coordinate purposes.

This commit is contained in:
Adam Harrison
2021-09-25 00:35:55 -04:00
parent d07d0e6d22
commit 806e4bc970
5 changed files with 21 additions and 19 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ int ren_font_get_tab_size(RenFont *font);
float ren_font_get_width(RenFont *font, const char *text);
int ren_font_get_height(RenFont *font);
float ren_font_get_size(RenFont *font);
int ren_draw_text(RenFont *font, const char *text, float x, int y, RenColor color);
float ren_draw_text(RenFont *font, const char *text, float x, int y, RenColor color);
void ren_draw_rect(RenRect rect, RenColor color);