summaryrefslogtreecommitdiff
path: root/include/math_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/math_helper.h')
-rw-r--r--include/math_helper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/math_helper.h b/include/math_helper.h
index 31e376c..f45e903 100644
--- a/include/math_helper.h
+++ b/include/math_helper.h
@@ -22,5 +22,6 @@ vec2f get_intersection_point(vec2f A, vec2f B, vec2f C, vec2f D);
box get_render_box_of_square(platform_window* window, vec3f position, vec3f size);
box get_box_of_square(vec3f position, vec3f size);
vec3f get_center_of_square(vec3f position, vec3f size);
+bool rect_contains_point(vec2 point, vec2 tl, vec2 br);
#endif \ No newline at end of file