diff --git a/src/graphics/graphics.c b/src/graphics/graphics.c index 42e0ca8..40ac033 100644 --- a/src/graphics/graphics.c +++ b/src/graphics/graphics.c @@ -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; diff --git a/src/graphics/grid.c b/src/graphics/grid.c index 7743bc5..696e14c 100644 --- a/src/graphics/grid.c +++ b/src/graphics/grid.c @@ -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); */