diff options
author | Rudy Bousset <rbousset@z3r8p1.le-101.fr> | 2020-02-13 17:18:47 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z3r8p1.le-101.fr> | 2020-02-13 17:18:47 +0100 |
commit | 51f58c3e656012c745b9e95daf169327542748e5 (patch) | |
tree | 9d3f98fc53d22a886e780ebbaea070ed67ebf9ed /src/ft_raycasting.c | |
parent | Bug fixes (diff) | |
download | 42-cub3d-51f58c3e656012c745b9e95daf169327542748e5.tar.gz 42-cub3d-51f58c3e656012c745b9e95daf169327542748e5.tar.bz2 42-cub3d-51f58c3e656012c745b9e95daf169327542748e5.tar.xz 42-cub3d-51f58c3e656012c745b9e95daf169327542748e5.tar.zst 42-cub3d-51f58c3e656012c745b9e95daf169327542748e5.zip |
does not compile but new header for structs
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++; + } +} |