typedef struct {
int nlines;
int *np;
int *closed;
MAV_vector **vert;
MAV_surfaceParams **sp;
MAV_matrix matrix;
void *userdef;
} MAV_polyline;
Since it only make sense for this object to be rendered with a solid colour, attempting to render it with a material or texture gives undefined results.