From 7b956089e6ba5162fb0b667f1c0a60f6ece90c38 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Thu, 15 Dec 2022 12:59:19 +0100 Subject: added drops --- src/math_helper.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/math_helper.c') 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}; -- cgit v1.2.3-70-g09d2