must be a cli opt !
This commit is contained in:
parent
895e61cbb6
commit
992c98cfa8
@ -22,6 +22,7 @@ extern int verbosity;
|
|||||||
|
|
||||||
/* --------------------------------------------------------------------- */
|
/* --------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
#define PSYCHOTIK 1
|
||||||
#define LINE_SZ 666
|
#define LINE_SZ 666
|
||||||
|
|
||||||
static BBList *bublist;
|
static BBList *bublist;
|
||||||
@ -149,8 +150,11 @@ if ( pts[0]==pts[1] || pts[0]==pts[2] || pts[2]==pts[1] ) {
|
|||||||
for (ix=0; ix<3; ix++) {
|
for (ix=0; ix<3; ix++) {
|
||||||
a = ix % 3;
|
a = ix % 3;
|
||||||
b = (ix+1) % 3;
|
b = (ix+1) % 3;
|
||||||
// foo = push_a_missing_edge(edges, pts[a], pts[b]);
|
#if PSYCHOTIK
|
||||||
|
foo = push_a_missing_edge(edges, pts[a], pts[b]);
|
||||||
|
#else
|
||||||
foo = push_an_edge(edges, pts[a], pts[b]);
|
foo = push_an_edge(edges, pts[a], pts[b]);
|
||||||
|
#endif
|
||||||
if (foo) {
|
if (foo) {
|
||||||
fprintf(stderr, "%s: disaster #%d line %d\n",
|
fprintf(stderr, "%s: disaster #%d line %d\n",
|
||||||
__func__, foo, linenumber);
|
__func__, foo, linenumber);
|
||||||
|
Loading…
Reference in New Issue
Block a user