-
Notifications
You must be signed in to change notification settings - Fork 0
/
location_utils.c
21 lines (19 loc) · 1.04 KB
/
location_utils.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* location_utils.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jbadaire <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/10/05 15:30:50 by jbadaire #+# #+# */
/* Updated: 2023/10/10 17:06:20 by jbadaire ### ########.fr */
/* */
/* ************************************************************************** */
#include "so_long.h"
t_boolean loc_equals(t_location loc_1, t_location loc_2)
{
if (loc_1.x == loc_2.x && loc_1.y == loc_2.y)
return (_true);
else
return (_false);
}