Edge flags were random/undefined otherwise.
struct prim_header tmp;
tmp.det = header->det;
+ tmp.edgeflags = header->edgeflags;
tmp.v[0] = dup_vert(stage, header->v[0], 0);
tmp.v[1] = dup_vert(stage, header->v[1], 1);
tmp.v[2] = header->v[2];
struct prim_header tmp;
tmp.det = header->det;
+ tmp.edgeflags = header->edgeflags;
tmp.v[0] = dup_vert(stage, header->v[0], 0);
tmp.v[1] = dup_vert(stage, header->v[1], 1);
tmp.v[2] = dup_vert(stage, header->v[2], 2);
struct prim_header tmp;
tmp.det = header->det;
+ tmp.edgeflags = header->edgeflags;
/* copy back colors to front color slots */
tmp.v[0] = copy_bfc(twoside, header->v[0], 0);
tmp.v[1] = copy_bfc(twoside, header->v[1], 1);