#ifndef SOURCELIST_H #define SOURCELIST_H #include #include class Source; typedef std::list SourceList; SourceList depth_sorted (SourceList list); SourceList mixing_sorted (SourceList list, glm::vec2 center = glm::vec2(0.f, 0.f)); SourceList intersect (SourceList first, SourceList second); SourceList join (SourceList first, SourceList second); typedef enum { SOURCELIST_DISTINCT = 0, SOURCELIST_INTERSECT = 1, SOURCELIST_EQUAL = 2, SOURCELIST_FIRST_IN_SECOND = 3, SOURCELIST_SECOND_IN_FIRST = 4 } SourceListCompare; SourceListCompare compare (SourceList first, SourceList second); typedef std::list SourceIdList; SourceIdList ids (SourceList list); #endif // SOURCELIST_H