OK VERTEX D'ABORD, LIGNES ENSUITE - Vérifié graphiquement pour de petits nombres tirés au sort
This commit is contained in:
parent
ab5942d0bf
commit
c9245ce444
|
@ -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;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue