ça compile maintenant

This commit is contained in:
Etienne Rey-bethbeder
2023-06-01 13:49:12 +02:00
parent 88298e79b2
commit ab4e7e7034
5 changed files with 11 additions and 18 deletions

View File

@ -6,7 +6,7 @@
/* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/04/27 14:50:22 by erey-bet #+# #+# */
/* Updated: 2023/05/19 17:03:52 by erey-bet ### ########.fr */
/* Updated: 2023/06/01 13:28:15 by erey-bet ### ########.fr */
/* */
/* ************************************************************************** */
@ -14,8 +14,8 @@
void init_ply(t_map map, t_ply *ply)
{
ply->pos_x = map.ply_x - 0.5;
ply->pos_y = map.ply_y - 0.5;
ply->pos_x = map.ply_x + 0.5;
ply->pos_y = map.ply_y + 0.5;
ply->dir_x = 0.0;
ply->dir_y = 0.0;
if (map.direction == 'N')