diff --git a/src/graphics/graphics.c b/src/graphics/graphics.c index be07b1f..c2c0f9f 100644 --- a/src/graphics/graphics.c +++ b/src/graphics/graphics.c @@ -831,8 +831,10 @@ void main_test_graphics (void) for (int u = 0; u < min_x; u++) for (int v = 0; v < min_y; v++) for (int w = 0; w < min_z; w++) - if (u + v + w < mxyz) + 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); + } printf("\n+ effacement des flèches dans l'angle-origine\ <=> contrôle graphique de la fonction erase_arrow()\n");