diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-12-15 12:59:19 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-12-15 12:59:19 +0100 |
| commit | 7b956089e6ba5162fb0b667f1c0a60f6ece90c38 (patch) | |
| tree | 82de31240ad1f1ae77874f07b288fcc39b8948f4 /src/math_helper.c | |
| parent | 23d2cc231e5b4c015a8471d3035dc07802de23d5 (diff) | |
added drops
Diffstat (limited to 'src/math_helper.c')
| -rw-r--r-- | src/math_helper.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/math_helper.c b/src/math_helper.c index 3bbfb29..69ad530 100644 --- a/src/math_helper.c +++ b/src/math_helper.c @@ -96,8 +96,7 @@ vec2f get_intersection_point(vec2f A, vec2f B, vec2f C, vec2f D) { } } -box get_box_of_square(platform_window* window, vec3f position, vec3f size) { - map_info info = get_map_info(window); +box get_box_of_square(vec3f position, vec3f size) { vec2f rendertl = (vec2f){position.x, position.y}; vec2f rendertr = (vec2f){position.x + size.x, position.y}; vec2f renderbr = (vec2f){position.x + size.x, position.y + size.y}; |
