X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=moebius2.git;a=blobdiff_plain;f=mgraph.h;h=3995d463ed0bda1160791fa997d2da40fde6ea66;hp=ae341fae532786f45a2b53c779802eeb47ab0f25;hb=2a4bf2376456c0650ffea5d89e4b4cf4763af1ad;hpb=8ff2e481a33d24276b85600c4f3fd7bc9cbf5a18 diff --git a/mgraph.h b/mgraph.h index ae341fa..3995d46 100644 --- a/mgraph.h +++ b/mgraph.h @@ -1,3 +1,6 @@ +/* + * Graph topology + */ /* * Vertices in strip are numbered as follows: * @@ -32,23 +35,19 @@ * * We label edges as follows: * - * \0 /1 + * e: \2 /1 * \ / * ___ 0 __ - * 2 1 3 + * 3 1 0 * / \ * 4/ 5\ - * - * (This numbering permits the order-4 nodes at the strip's edge - * to have a contiguous edge numbering 2..5 or 0..3.) - * - * When we iterate over edges, we iterate first over vertices and then - * over edges 0 to 2, disregarding edges 3 to 5. */ #ifndef MGRAPH_H #define MGRAPH_H +#include "common.h" + #define XBITS 4 #define X (1<