Fast triangulation, rotated for some reason
cleaned up a bit