|
Stellarium 0.15.2
|
40 #ifdef NO_BRANCH_CONDITIONS 45 #define VertEq(u, v) (((u)->s == (v)->s) & ((u)->t == (v)->t)) 46 #define VertLeq(u, v) (((u)->s < (v)->s) | \ 47 ((u)->s == (v)->s & (u)->t <= (v)->t)) 50 #define VertEq(u, v) ((u)->s == (v)->s && (u)->t == (v)->t) 51 #define VertLeq(u, v) (((u)->s < (v)->s) || \ 52 ((u)->s == (v)->s && (u)->t <= (v)->t)) 55 #define EdgeEval(u, v, w) __gl_edgeEval(u, v, w) 56 #define EdgeSign(u, v, w) __gl_edgeSign(u, v, w) 60 #define TransLeq(u,v) (((u)->t < (v)->t) || \ 61 ((u)->t == (v)->t && (u)->s <= (v)->s)) 62 #define TransEval(u,v,w) __gl_transEval(u,v,w) 63 #define TransSign(u,v,w) __gl_transSign(u,v,w) 65 #define EdgeGoesLeft(e) VertLeq((e)->Dst, (e)->Org) 66 #define EdgeGoesRight(e) VertLeq((e)->Org, (e)->Dst) 69 #define ABS(x) ((x)<0 ? -(x) : (x)) 70 #define VertL1dist(u, v) (ABS(u->s-v->s)+ABS(u->t-v->t)) 72 #define VertCCW(u, v, w) __gl_vertCCW(u, v, w)