// TODO: use a sweepline that has the smallest projection of the box
// now we use just an arbitrary one
Vector2f sweepline = new Vector2f(vertsB[1]);
sweepline.sub(vertsB[2]);
EdgeSweep sweep = new EdgeSweep(sweepline);
sweep.addVerticesToSweep(true, vertsA);
sweep.addVerticesToSweep(false, vertsB);
int[][] collEdgeCands = sweep.getOverlappingEdges();
// FeaturePair[] featurePairs = getFeaturePairs(contacts.length, vertsA, vertsB, collEdgeCands);
// return populateContacts(contacts, vertsA, vertsB, featurePairs);
Intersection[][] intersections = getIntersectionPairs(vertsA, vertsB, collEdgeCands);
return populateContacts(contacts, vertsA, vertsB, intersections);