I have two vectors full of structs that are very simple:
typedef struct{
//three vertex ids
uint a,b,c;
} Face;
I'm currently trying to run set_intersection like so:
set_intersection(listOfFaces1.begin(),listOfFaces1.end(),listOfFaces2.begin(),listOfFaces2.end(), back_inserter(facesToDelete));
I'm guessing I need to overwrite some comparator somehow? But I'm not sure how to go about defining equality between two Face objects...
Any help would be much appreciated.