diff options
author | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-01-23 19:41:24 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-01-23 19:41:24 +0100 |
commit | 12faf5456d0f2356b6406a0d74ed4559c4a85a41 (patch) | |
tree | c5e352d3471d68ea99a90b60e282f6af65518a19 /src/ft_drawsquare.c | |
parent | I got colors (diff) | |
download | 42-cub3d-12faf5456d0f2356b6406a0d74ed4559c4a85a41.tar.gz 42-cub3d-12faf5456d0f2356b6406a0d74ed4559c4a85a41.tar.bz2 42-cub3d-12faf5456d0f2356b6406a0d74ed4559c4a85a41.tar.xz 42-cub3d-12faf5456d0f2356b6406a0d74ed4559c4a85a41.tar.zst 42-cub3d-12faf5456d0f2356b6406a0d74ed4559c4a85a41.zip |
ok but might redo ft_split
Diffstat (limited to '')
-rw-r--r-- | src/ft_drawsquare.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ft_drawsquare.c b/src/ft_drawsquare.c index 78ebd8c..b37dc77 100644 --- a/src/ft_drawsquare.c +++ b/src/ft_drawsquare.c @@ -2,11 +2,12 @@ #include <cub3d.h> void -ft_drawsquare(t_win *wlist, int a, int b) +ft_drawsquare(t_win *wlist, t_cub *clist, int a, int b) { int x; int y; + (void)clist; x = a; y = b; while (x > a - 40) |