diff options
Diffstat (limited to 'src/ft_raycasting.c')
-rw-r--r-- | src/ft_raycasting.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/ft_raycasting.c b/src/ft_raycasting.c new file mode 100644 index 0000000..1f81840 --- /dev/null +++ b/src/ft_raycasting.c @@ -0,0 +1,23 @@ +#include <cub3d.h> +#include <stdint.h> + +static void +ft_initray(t_cub *clist, uint16_t i) +{ + (void)clist; + (void)i; +} + +void +ft_castray(t_cub *clist) +{ + uint16_t i; + + i = 0; + while (i < clist->wlist->size_y) + { + ft_initray(clist. i); + p_s->line + i++; + } +} |