chiark
/
gitweb
/
~ian
/
moebius2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
compiles and most output facets are right; needs debugging
[moebius2.git]
/
mgraph.h
diff --git
a/mgraph.h
b/mgraph.h
index 4ab020585b8e57609cbff0808aedbc2f1dc54d27..06c53e214ec1f5cac09a151f827b8caaf7344b77 100644
(file)
--- a/
mgraph.h
+++ b/
mgraph.h
@@
-125,9
+125,7
@@
int edge_reverse(int v1, int e);
for ((vy)=0; (vy)<Y; (vy)+=Y-1) \
for ((vx)=0; (v)= (vy)<<YSHIFT | (vx), (vx)<X; (vx)++)
for ((vy)=0; (vy)<Y; (vy)+=Y-1) \
for ((vx)=0; (v)= (vy)<<YSHIFT | (vx), (vx)<X; (vx)++)
-#define VERTICES_SPAN_JOIN_P(v0,v1) \
- /* v0 and v1 must be (nearly) adjacent */ \
- (!!((v0) ^ (v1) ^ (1<<(XBITS-1))))
+int vertices_span_join_p(int v0, int v1);
typedef double Vertices[N][D3];
struct Vertices { Vertices a; };
typedef double Vertices[N][D3];
struct Vertices { Vertices a; };