From c9245ce444ea00bc310ca63771fa733abc001954 Mon Sep 17 00:00:00 2001 From: Jean Sirmai Date: Tue, 17 Oct 2023 22:21:18 +0200 Subject: [PATCH] =?UTF-8?q?OK=20VERTEX=20D'ABORD,=20LIGNES=20ENSUITE=20-?= =?UTF-8?q?=20V=C3=A9rifi=C3=A9=20graphiquement=20pour=20de=20petits=20nom?= =?UTF-8?q?bres=20tir=C3=A9s=20au=20sort?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/graphics/graphics.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/graphics/graphics.c b/src/graphics/graphics.c index a12e03c..393b3b4 100644 --- a/src/graphics/graphics.c +++ b/src/graphics/graphics.c @@ -677,7 +677,7 @@ void __attribute__((optimize("no-unroll-loops"))) main_test_graphics (void) int rand(void); void srand(unsigned int seed); // printf ("Valeur max : %d\n", RAND_MAX); min + rand() % (max+1 - min); - int arbitrary = 300; + int arbitrary = 10; int space_X = 1 + rand() % arbitrary, space_Y = 1 + rand() % arbitrary, space_Z = 1 + rand() % arbitrary; @@ -773,5 +773,7 @@ void __attribute__((optimize("no-unroll-loops"))) main_test_graphics (void) free(arrows); arrows = NULL; arrows_nb = 0; + + }