Archived
1
0

」 feat(Raycasting): Now working 🎉

This commit is contained in:
2024-11-02 16:08:39 +01:00
parent cec486ad81
commit 2df57b2f15
9 changed files with 51 additions and 58 deletions

View File

@ -6,7 +6,7 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/09/11 16:38:40 by adjoly #+# #+# */
/* Updated: 2024/10/29 13:56:32 by adjoly ### ########.fr */
/* Updated: 2024/11/02 15:55:39 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
@ -53,7 +53,6 @@ typedef struct s_render
void *texture[4];
} t_render;
/**
* @brief This function is used to handle keypress
*
@ -64,7 +63,6 @@ typedef struct s_render
*/
int key_hook(int key, void *param);
/**
* @brief This function is here to change the direction of the player
* by setting the t_player->direction and check overflow to be
@ -77,7 +75,6 @@ int key_hook(int key, void *param);
*/
void change_direction(float speed, bool clockwise, t_player *player);
/**
* @brief Render a cub3d frame by executing a dda on every ray and
* putting the pixel on the window