summaryrefslogtreecommitdiff
path: root/src/math_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math_helper.c')
-rw-r--r--src/math_helper.c3
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};