commit b6ec4a3
pita
·
2026-06-29 20:10:52 +0000 UTC
parent 7ff1a7f
fuck you code editor
1 files changed,
+1,
-1
+1,
-1
1@@ -160,7 +160,7 @@ main(void)
2
3 /* write the header */
4 fprintf(out, "P3\n%d %d\n255\n", grid.width, grid.height);
5-
6+ /* write the rest */
7 for (i = 0; i < (int)grid_size; i+=3) {
8 if (grid.data[i] == 0 && grid.data[i + 1] == 0 && grid.data[i + 2] == 0)
9 switch (rand() % 4) {