winding_t *neww;
int maxpts;
+ // debugging
+ Mem_CheckSentinels(in);
+
counts[SIDE_FRONT] = counts[SIDE_BACK] = counts[SIDE_ON] = 0;
// determine sides for each point
// free the original winding
FreeWinding (in);
+ // debugging
+ Mem_CheckSentinels(neww);
+
return neww;
}
winding_t *f, *b;
int maxpts;
+ // debugging
+ Mem_CheckSentinels(in);
+
counts[SIDE_FRONT] = counts[SIDE_BACK] = counts[SIDE_ON] = 0;
// determine sides for each point
VectorCopy (mid, b->points[b->numpoints]);
b->numpoints++;
}
+
+ // debugging
+ Mem_CheckSentinels(front);
+ Mem_CheckSentinels(back);
}
typedef struct portal_s