15bool is_collision_detection_x(
16 char **data,
t_vector view_point,
double move_amount)
21 x = (int)(view_point.x + move_amount);
22 y = (int)(view_point.y);
23 if (data[y][x] ==
'1')
28bool is_collision_detection_y(
29 char **data,
t_vector view_point,
double move_amount)
34 x = (int)(view_point.x);
35 y = (int)(view_point.y + move_amount);
36 if (data[y][x] ==
'1')