summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.c b/main.c
index 3060831..b78ddf7 100644
--- a/main.c
+++ b/main.c
@@ -68,7 +68,10 @@ try_neighbor(kd_node_t *node, int dx, int dy)
return node + (int)WIDTH*dy + dx;
}
-// Star pattern
+// Star pattern:
+// 6 1 4
+// 3 7
+// 0 5 2
static int neighbor_order[][2] = {
{ -1, -1 },
{ 0, +1 },