1
0

🏗️」 wip(ft_passagepietion): passage pieton working 👍

This commit is contained in:
Maelys
2024-11-01 16:34:54 +01:00
parent 90c84c7b37
commit 0d54c93764
7 changed files with 29 additions and 24 deletions

View File

@ -6,7 +6,7 @@
/* By: madumerg <madumerg@42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/09/04 16:58:27 by madumerg #+# #+# */
/* Updated: 2024/10/30 10:02:56 by adjoly ### ########.fr */
/* Updated: 2024/11/01 16:16:52 by madumerg ### ########.fr */
/* */
/* ************************************************************************** */
@ -30,9 +30,9 @@ int main(int ac, char **av)
world.arr = ft_split("11111 10001 10001 10001 11111", ' ');
world.size.x = 5;
world.size.y = 5;
player.coord.x = 1;
player.coord.y = 1;
player.direction = 0;
player.coord.x = 2.5;
player.coord.y = 3.5;
player.direction = 2 * M_PI - 0.001;
render.mlx = mlx_init();
render.win = mlx_new_window(render.mlx, WINDOW_W, WINDOW_H, "WTF");
render.img = mlx_new_image(render.mlx, WINDOW_W, WINDOW_H);