diff --git a/src/graphics/graphics.c b/src/graphics/graphics.c index 7364b4e..19a80b5 100644 --- a/src/graphics/graphics.c +++ b/src/graphics/graphics.c @@ -678,9 +678,9 @@ void __attribute__((optimize("no-unroll-loops"))) main_test_graphics (void) void srand(unsigned int seed); // printf ("Valeur max : %d\n", RAND_MAX); min + rand() % (max+1 - min); int arbitrary = 30; - int space_X = 3,//1 + rand() % arbitrary, - space_Y = 3,//1 + rand() % arbitrary, - space_Z = 3;//1 + rand() % arbitrary; + int space_X = 1 + rand() % arbitrary, + space_Y = 1 + rand() % arbitrary, + space_Z = 1 + rand() % arbitrary; int density_max = space_X * space_Y * space_Z; int max = fmax(space_X, space_Y); max = fmax(max, space_Z);