GitHub issue #25 potential fix - swapped another pair of x,y and hx,hy that was incorrect
Updated/cleaned up bits of code in PolyMeshDetail