#include "mgraph.h"
-static const unsigned dx[V6]= { 0, +1, -1, +1, -1, 0 },
- dy[V6]= { +Y1, +Y1, 0, 0, -Y1, -Y1 };
-
+static const unsigned dx[V6]= { +1, +1, 0, -1, -1, 0 },
+ 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
* lattice to make the lines of constant x vertical. This gives
* these six directions:
*
- * 0 1
+ * 2 1
* | /
* |/
- * 2--*--3
+ * 3--*--0
* /|
* / |
* 4 5