#include #include void ft_drawsquare(int a, int b, int rgb, t_win *wlist) { int x; int y; x = a; y = b; while (x > a - 40) { while (y > b - 40) { mlx_pixel_put(wlist->wlx, wlist->winptr, x, y, rgb); y--; } y = b; x--; } }