Mortiniera_augmented-reality-game-project/Milestone3/Game/CWComparator.pde
class CWComparator implements Comparator<PVector> {
  
  PVector center;
  public CWComparator(PVector center) {
    this.center = center;
  }
  @Override
    public int compare(PVector b, PVector d) {
    if (Math.atan2(b.y-center.y, b.x-center.x)<Math.atan2(d.y-center.y, d.x-center.x))
      return -1;
    else return 1;
  }
}