From 8645ebdb34f8f479308b520ced359d11d4a8a45a Mon Sep 17 00:00:00 2001 From: Jean Sirmai Date: Wed, 8 Nov 2023 19:03:46 +0100 Subject: [PATCH] Fixup for fun --- src/graphics/graphics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/graphics.c b/src/graphics/graphics.c index c2c0f9f..8e13482 100644 --- a/src/graphics/graphics.c +++ b/src/graphics/graphics.c @@ -833,7 +833,7 @@ void main_test_graphics (void) for (int w = 0; w < min_z; w++) if (u + v + w < mxyz) { arrows_nb = set_arrow (arrows_ptr, arrows_nb, 1, 1, 1, 0, i, u, v, w, 0); - arrows_nb = set_arrow (arrows_ptr, arrows_nb, space_X, space_Y, space_Z, 0, i, space_X - u, space_Y - v, space_Z - w, 0); + arrows_nb = set_arrow (arrows_ptr, arrows_nb, space_X, space_Y, space_Z, 0, i, space_X - u - 1, space_Y - v - 1, space_Z - w - 1, 0); } printf("\n+ effacement des flèches dans l'angle-origine\