From 0d341a13625385d720a22221cd08c620688ce248 Mon Sep 17 00:00:00 2001 From: gnembon Date: Mon, 1 Jun 2020 03:27:34 -0300 Subject: [PATCH] overlay fixes --- src/main/resources/assets/carpet/scripts/overlay.sc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/resources/assets/carpet/scripts/overlay.sc b/src/main/resources/assets/carpet/scripts/overlay.sc index 3adebc96..366d0a7a 100644 --- a/src/main/resources/assets/carpet/scripts/overlay.sc +++ b/src/main/resources/assets/carpet/scripts/overlay.sc @@ -138,12 +138,12 @@ __chunk_renderer(player_name) -> b = 30; a = max(0, 255-player_distance); color = a+256*(b+256*(g+256*r)); - draw_shape('box', 15, 'from', top_00, 'to', top_10, 'color', color); - draw_shape('box', 15, 'from', top_10, 'to', top_11, 'color', color); - draw_shape('box', 15, 'from', top_11, 'to', top_01, 'color', color); - draw_shape('box', 15, 'from', top_01, 'to', top_00, 'color', color); - draw_shape('box', 15, 'from', top_00, 'to', top_11, 'color', color); - draw_shape('box', 15, 'from', top_01, 'to', top_10, 'color', color); + draw_shape('line', 15, 'from', top_00, 'to', top_10, 'color', color); + draw_shape('line', 15, 'from', top_10, 'to', top_11, 'color', color); + draw_shape('line', 15, 'from', top_11, 'to', top_01, 'color', color); + draw_shape('line', 15, 'from', top_01, 'to', top_00, 'color', color); + draw_shape('line', 15, 'from', top_00, 'to', top_11, 'color', color); + draw_shape('line', 15, 'from', top_01, 'to', top_10, 'color', color); //part = 'dust 0.2 0.8 0.2 2'; //density = 2+player_distance/2;