diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2020-02-15 15:10:46 +0100 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2020-02-15 15:10:46 +0100 |
commit | e141146776d9e0ac6bffe71c18dbe634ed1c2658 (patch) | |
tree | 6f38fe00f5f8e92cb1207c941a154647fad1f70a /src | |
parent | swap east and west, add texture init function (diff) | |
download | 42-cub3d-e141146776d9e0ac6bffe71c18dbe634ed1c2658.tar.gz 42-cub3d-e141146776d9e0ac6bffe71c18dbe634ed1c2658.tar.bz2 42-cub3d-e141146776d9e0ac6bffe71c18dbe634ed1c2658.tar.xz 42-cub3d-e141146776d9e0ac6bffe71c18dbe634ed1c2658.tar.zst 42-cub3d-e141146776d9e0ac6bffe71c18dbe634ed1c2658.zip |
small changez
Diffstat (limited to '')
-rw-r--r-- | src/ft_draw_textures.c (renamed from ft_draw_textures.c) | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/ft_draw_textures.c b/src/ft_draw_textures.c index 5002daa..36cc832 100644 --- a/ft_draw_textures.c +++ b/src/ft_draw_textures.c @@ -13,4 +13,13 @@ #include <cub3d.h> #include <stdint.h> -void ft_draw_wall(on est al) +void ft_draw_wall(t_cub *clist, int x, int draw_start, int draw_end) +{ + clist->img.ptr[/*calcul a la con*/x]; + /* + * faire calcul wola + * + * + * + */ +} |