feat: raycasting functionnal

This commit is contained in:
Raphael 2024-11-27 16:10:31 +01:00
parent a3b0d266bb
commit 9ae3eb011f
19 changed files with 1183 additions and 101 deletions

View file

@ -6,7 +6,7 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/10/30 16:30:26 by rparodi #+# #+# */
/* Updated: 2024/11/20 13:55:10 by rparodi ### ########.fr */
/* Updated: 2024/11/26 13:37:20 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
@ -38,5 +38,6 @@ void parse_map(t_info *info);
void parse_args(char *arg, t_info *inf);
int main(int argc, char *argv[]);
void shelves_launch(t_info *info);
#endif /* CUB3D_H */

View file

@ -6,7 +6,7 @@
/* By: bgoulard <bgoulard@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/08 23:55:29 by bgoulard #+# #+# */
/* Updated: 2024/11/20 15:13:28 by rparodi ### ########.fr */
/* Updated: 2024/11/26 13:35:13 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
@ -19,6 +19,8 @@
# define FILE_EXTENSION ".cub"
# define FILE_EXTENSION_LEN 4
#define FOV 65
#define TILE_SIZE 64
// -- graphic utils
typedef struct s_color