chiark / gitweb /
DIMBITS compromise
authorIan Jackson <ian@davenant.relativity.greenend.org.uk>
Tue, 1 Jan 2008 21:00:55 +0000 (21:00 +0000)
committerIan Jackson <ian@davenant.relativity.greenend.org.uk>
Tue, 1 Jan 2008 21:00:55 +0000 (21:00 +0000)
mgraph.h

index 22f5d92a37e979b52b4779feb16b8837a704eddc..ba3ec29807ae2103a27ff7ec41d6e9fe15d9fb29 100644 (file)
--- a/mgraph.h
+++ b/mgraph.h
 
 #include "common.h"
 
-#define DIMBITS 4
-
-#define XBITS DIMBITS
+#define XBITS 3
 #define X (1<<XBITS)
-#define YBITS DIMBITS
+#define YBITS 4
 #define Y ((1<<YBITS) - 1)
 
 /* vertex number:   0000 | y     | x