struct s_loop_data t_loop_data
Data structure passed to the drawing loop.
struct s_point t_point
Map point.
struct s_map t_map
Map data.
Data structure passed to the drawing loop.
int y
Starting row index for the drawing loop.
mlx_image_t * img
Pointer to mlx image on which to draw lines.
int width
Number of columns in the map.
int height
Number of rows in the map.
t_point ** point
2d array of points in [y][x] order
int projected[2]
Projected coordinates for this point.
int height
Height extracted from map file.