WIP: modifications mineures; reste une petite erreur de dessin d'une grille... je vais ailleurs
This commit is contained in:
parent
fc271cf2ef
commit
8b7e7c0f28
|
@ -675,7 +675,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 = 1000;
|
||||
int arbitrary = 30;
|
||||
int space_X = 1 + rand() % arbitrary,
|
||||
space_Y = 1 + rand() % arbitrary,
|
||||
space_Z = 1 + rand() % arbitrary;
|
||||
|
|
|
@ -156,8 +156,6 @@ long write_grids_on_space_faces_lines (long offset_vertex, long offset_colors, l
|
|||
graphics_write_line (offset_vertex + i * 4 + 3, offset_vertex + i * 4 + 0);
|
||||
}
|
||||
|
||||
printf("write_grids_on_space_faces_lines\n");
|
||||
|
||||
return (x + y + z - 3) * 4;
|
||||
/* if (style) offset_lines += 2 * (space_X + space_Y + space_Z - 3); */
|
||||
/* else offset_lines += 4 * (space_X + space_Y + space_Z - 3); */
|
||||
|
|
Loading…
Reference in New Issue