teaching a computer how to make a sequence of arbitrary points clockwise vs counter-clockwise is my current nemesis
@ben Find average point, then calculate angle between each point and average point, and sort by angle?
@joepie91 my issue was that I had a comment saying "reverse the order of the vertices so that it's counter-clockwise" and the input was already counter-clockwise
Small server part of the pixie.town infrastructure. Registration is closed.
@joepie91 my issue was that I had a comment saying "reverse the order of the vertices so that it's counter-clockwise" and the input was already counter-clockwise