diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-12-25 21:30:31 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-12-25 21:30:31 +0100 |
| commit | f04e0a86210aef19d646e3561798347649661d0b (patch) | |
| tree | e59f2c5f0c212a80c1810c1a65dbfd1a7abe2d04 /include/math_helper.h | |
| parent | 655ad2a85235a215dbcdf1753bdcccaa2308b529 (diff) | |
editor work
Diffstat (limited to 'include/math_helper.h')
| -rw-r--r-- | include/math_helper.h | 1 |
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 |
