diff options
author | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-02-18 16:16:53 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-02-18 16:16:53 +0100 |
commit | 38099c824be637878b7da34cbcd2da8ed7ad0a9a (patch) | |
tree | e38a2fe4cedee7135f00700246d8a66b41228cc3 /src/ft_draw_map.c | |
parent | Merge branch 'textures_continued' (diff) | |
download | 42-cub3d-38099c824be637878b7da34cbcd2da8ed7ad0a9a.tar.gz 42-cub3d-38099c824be637878b7da34cbcd2da8ed7ad0a9a.tar.bz2 42-cub3d-38099c824be637878b7da34cbcd2da8ed7ad0a9a.tar.xz 42-cub3d-38099c824be637878b7da34cbcd2da8ed7ad0a9a.tar.zst 42-cub3d-38099c824be637878b7da34cbcd2da8ed7ad0a9a.zip |
Ready to merge circles
Diffstat (limited to '')
-rw-r--r-- | src/ft_draw_map.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ft_draw_map.c b/src/ft_draw_map.c index 2e17d69..7da2e58 100644 --- a/src/ft_draw_map.c +++ b/src/ft_draw_map.c @@ -28,9 +28,9 @@ static void const float y = plist->pos_y; const uint16_t scale = clist->mlist->scale; - ft_draw_square( - scale + (x * (scale)), - ft_y_offset(clist) + (y * (scale)), + ft_draw_circle( + (scale / 2 ) + (x * (scale)), + ft_y_offset(clist) - (scale) + (y * (scale)), 0x009843fa, clist); } |