From 6bce5e4588009d27c098367b0ba2c5c74ced30b4 Mon Sep 17 00:00:00 2001 From: Jean Sirmai Date: Thu, 19 Oct 2023 23:07:36 +0200 Subject: [PATCH] =?UTF-8?q?WIP:=20UN=20BON=20POINT=20DE=20D=C3=89PART=20PO?= =?UTF-8?q?UR=20CHERCHER=20D'O=C3=99=20VIENT=20L'ERREUR=20DE=20SEGMENTATIO?= =?UTF-8?q?N?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 b3627d3..1b7b9fd 100644 --- a/src/graphics/graphics.c +++ b/src/graphics/graphics.c @@ -676,7 +676,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 = 8; + int arbitrary = 200; int space_X = 1 + rand() % arbitrary, space_Y = 1 + rand() % arbitrary, space_Z = 1 + rand() % arbitrary;