]> git.lizzy.rs Git - nothing.git/blobdiff - src/game/camera.c
(#265) sprite_font_boundary_box
[nothing.git] / src / game / camera.c
index fa1f3641999b896bd3e1887c36279a36d53f5119..508f8dc040feb1f244573cc8b4730336c00b7947 100644 (file)
@@ -264,6 +264,21 @@ rect_t camera_view_port(const camera_t *camera)
                 w, h);
 }
 
+int camera_is_text_visible(const camera_t *camera,
+                           vec_t size,
+                           vec_t position,
+                           const char *text)
+{
+    assert(camera);
+    assert(text);
+    (void) size;
+    (void) position;
+
+    /* TODO: camera_is_text_visible not implemented */
+
+    return 0;
+}
+
 /* ---------- Private Function ---------- */
 
 static vec_t effective_ratio(const SDL_Rect *view_port)