feat: adding the raycasting launch ray

This commit is contained in:
Raphael 2024-11-12 15:09:27 +01:00
parent b9117a26e2
commit bd5ed03b27
3 changed files with 30 additions and 11 deletions

View file

@ -6,14 +6,17 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/12 12:27:30 by rparodi #+# #+# */
/* Updated: 2024/11/12 12:29:51 by rparodi ### ########.fr */
/* Updated: 2024/11/12 15:04:37 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef RAYCAST_H
# define RAYCAST_H
#include <math.h>
# include <math.h>
# define MAX_RANGE 100.0
# define STEP_SIZE 0.1
/**
* @brief Convert the degrees to radian