]> git.lizzy.rs Git - nothing.git/blobdiff - src/game/sprite_font.h
nothing now compiles on freebsd
[nothing.git] / src / game / sprite_font.h
index 0b71d74b63b9f95b4830c8b3eccb45a233905ebd..9cd11ac643d314c620cd1764775da470bc257ca8 100644 (file)
@@ -2,7 +2,7 @@
 #define SPRITE_FONT_H_
 
 #include "color.h"
-#include "math/point.h"
+#include "math/vec.h"
 #include "math/rect.h"
 
 #define FONT_CHAR_WIDTH 7
@@ -16,14 +16,14 @@ void destroy_sprite_font(Sprite_font *sprite_font);
 
 int sprite_font_render_text(const Sprite_font *sprite_font,
                             SDL_Renderer *renderer,
-                            Vec position,
-                            Vec size,
+                            Vec2f position,
+                            Vec2f size,
                             Color color,
                             const char *text);
 
 Rect sprite_font_boundary_box(const Sprite_font *sprite_font,
-                                Vec position,
-                                Vec size,
-                                const char *text);
+                              Vec2f position,
+                              Vec2f size,
+                              const char *text);
 
 #endif  // SPRITE_FONT_H_