This worked for me, but I don't know what input you are using.
It looks like all you did was convert the GTS delaunay.c example to a C++ program and removed some code from it. This looks ok. You did fail to initialize fifo below, but this function is never called anyway in your code.
program file
Logged In: YES
user_id=850909
Originator: NO
Rashmi,
This worked for me, but I don't know what input you are using.
It looks like all you did was convert the GTS delaunay.c example to a C++ program and removed some code from it. This looks ok. You did fail to initialize fifo below, but this function is never called anyway in your code.
static void split_constraint (GtsConstraint * c, gpointer * data)
{
- GtsSurface * s = data[0];
- GtsFifo * fifo = data[1];
+ GtsSurface * s = GTS_SURFACE(data[0]);
+
+ GtsFifo * fifo ;
+
gts_constraint_split (c, s, fifo);
}