chiark / gitweb /
bugfixes, smaller size
[moebius2.git] / mgraph.c
index 19bb4ba2afbbafaa803e328e7e93d848a1ca1494..c66ef489230b9d245453d6930359b0e37669d55d 100644 (file)
--- a/mgraph.c
+++ b/mgraph.c
@@ -5,7 +5,7 @@
 #include "mgraph.h"
 
 static const unsigned dx[V6]= {  +1,  +1,   0,  -1,  -1,   0  },
-                      dy[V6]= {   0, +Y1, +Y1,   0, -Y1, -Y1  };
+                      dy[V6]= {   0, -Y1, -Y1,   0, +Y1, +Y1  };
 
 int edge_end2(unsigned v1, int e) {
   /* The topology is equivalent to that of a square lattice with only