WIP: vérif en cours : le nombre de vertex a l'air bon; le pb est du côté des lignes

This commit is contained in:
Jean Sirmai 2023-10-17 12:46:14 +02:00
parent 6af1ece434
commit 853856955d
Signed by: jean
GPG Key ID: FB3115C340E057E3
1 changed files with 3 additions and 3 deletions

View File

@ -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); void srand(unsigned int seed); // printf ("Valeur max : %d\n", RAND_MAX); min + rand() % (max+1 - min);
int arbitrary = 30; int arbitrary = 30;
int space_X = 3,//1 + rand() % arbitrary, int space_X = 1 + rand() % arbitrary,
space_Y = 3,//1 + rand() % arbitrary, space_Y = 1 + rand() % arbitrary,
space_Z = 3;//1 + rand() % arbitrary; space_Z = 1 + rand() % arbitrary;
int density_max = space_X * space_Y * space_Z; int density_max = space_X * space_Y * space_Z;
int max = fmax(space_X, space_Y); max = fmax(max, space_Z); int max = fmax(space_X, space_Y); max = fmax(max, space_Z);