Archived
1
0

🏗️」 wip: DDA setup finished and loop started

This commit is contained in:
2024-10-07 11:25:31 +02:00
parent e11c60b808
commit c7fd02590a
14 changed files with 258 additions and 56 deletions

26
includes/game/dda.h Normal file
View File

@ -0,0 +1,26 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* dda.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/10/04 14:04:10 by adjoly #+# #+# */
/* Updated: 2024/10/06 18:48:38 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef DDA_H
# define DDA_H
# include "typedef.h"
/**
* @brief Function used to get all the ray angle
*
* @param player The address of the t_player struct
* @param dda The address of the t_dda struct
*/
void get_ray_angle(t_player *player, t_dda (*dda)[800]);
#endif