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\