From a3ff18155fc5a671ccdbab9c577dce439cb30326 Mon Sep 17 00:00:00 2001 From: Jean Sirmai Date: Wed, 11 Oct 2023 19:17:59 +0200 Subject: [PATCH] =?UTF-8?q?WIP:=20cube=203*3*3=20empaquet=C3=A9=20tri?= =?UTF-8?q?=C3=A9=20(pr=C3=AAt=20pour=20l'alg=C3=A8bre?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/graphics/grid.c | 58 +++++++++++++++++++-------------------------- 1 file changed, 24 insertions(+), 34 deletions(-) diff --git a/src/graphics/grid.c b/src/graphics/grid.c index f3649c1..db7f47d 100644 --- a/src/graphics/grid.c +++ b/src/graphics/grid.c @@ -82,42 +82,32 @@ void write_marks_along_space_ridges (long x, long y, long z) int vertex_offset = 8; - graphics_write_line (vertex_offset + 0, vertex_offset + 6); // - graphics_write_line (vertex_offset + 1, vertex_offset + 7); // + /* graphics_write_line (vertex_offset + 0, vertex_offset + 16); */ + /* graphics_write_line (vertex_offset + 1, vertex_offset + 17); */ + /* graphics_write_line (vertex_offset + 2, vertex_offset + 18); */ + /* graphics_write_line (vertex_offset + 3, vertex_offset + 19); */ + /* graphics_write_line (vertex_offset + 4, vertex_offset + 20); */ + /* graphics_write_line (vertex_offset + 5, vertex_offset + 21); */ + /* graphics_write_line (vertex_offset + 6, vertex_offset + 22); */ + /* graphics_write_line (vertex_offset + 7, vertex_offset + 23); */ - graphics_write_line (vertex_offset + 2, vertex_offset + 3); // - graphics_write_line (vertex_offset + 4, vertex_offset + 5); // + /* graphics_write_line (vertex_offset + 0, vertex_offset + 6); */ + /* graphics_write_line (vertex_offset + 1, vertex_offset + 7); */ + /* graphics_write_line (vertex_offset + 8, vertex_offset + 10); */ + /* graphics_write_line (vertex_offset + 9, vertex_offset + 11); */ + /* graphics_write_line (vertex_offset + 12, vertex_offset + 14); */ + /* graphics_write_line (vertex_offset + 13, vertex_offset + 15); */ + /* graphics_write_line (vertex_offset + 16, vertex_offset + 22); */ + /* graphics_write_line (vertex_offset + 17, vertex_offset + 23); */ - graphics_write_line (vertex_offset + 8, vertex_offset + 9); // - graphics_write_line (vertex_offset + 12, vertex_offset + 13); // - - graphics_write_line (vertex_offset + 10, vertex_offset + 11); // - graphics_write_line (vertex_offset + 14, vertex_offset + 15); // - - graphics_write_line (vertex_offset + 12, vertex_offset + 14); // - graphics_write_line (vertex_offset + 13, vertex_offset + 15); // - - graphics_write_line (vertex_offset + 16, vertex_offset + 22); // - graphics_write_line (vertex_offset + 17, vertex_offset + 23); // - - graphics_write_line (vertex_offset + 18, vertex_offset + 19); // - graphics_write_line (vertex_offset + 20, vertex_offset + 21); // - - graphics_write_line (vertex_offset + 0, vertex_offset + 16); // - graphics_write_line (vertex_offset + 1, vertex_offset + 17); // - - graphics_write_line (vertex_offset + 2, vertex_offset + 18); // - graphics_write_line (vertex_offset + 3, vertex_offset + 19); // - // - graphics_write_line (vertex_offset + 4, vertex_offset + 20); // - graphics_write_line (vertex_offset + 5, vertex_offset + 21); // - - - graphics_write_line (vertex_offset + 6, vertex_offset + 22); // - graphics_write_line (vertex_offset + 7, vertex_offset + 23); // - - graphics_write_line (vertex_offset + 8, vertex_offset + 10); // - graphics_write_line (vertex_offset + 9, vertex_offset + 11); // + graphics_write_line (vertex_offset + 2, vertex_offset + 3); + graphics_write_line (vertex_offset + 4, vertex_offset + 5); + graphics_write_line (vertex_offset + 8, vertex_offset + 9); + graphics_write_line (vertex_offset + 10, vertex_offset + 11); + graphics_write_line (vertex_offset + 12, vertex_offset + 13); + graphics_write_line (vertex_offset + 14, vertex_offset + 15); + graphics_write_line (vertex_offset + 18, vertex_offset + 19); + graphics_write_line (vertex_offset + 20, vertex_offset + 21); }