(for the fun) arrows erased on origin and opposite corner

This commit is contained in:
Jean Sirmai 2023-11-06 23:08:43 +01:00
parent 776aac0855
commit 026fba6add
Signed by: jean
GPG Key ID: FB3115C340E057E3
1 changed files with 3 additions and 1 deletions

View File

@ -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");