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 22f5d92..ba3ec29 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