in reply to Making CLOCKWISE work

stu96art, I'm a bit peeved that you decided to "roll your own" clockwise tester after we gave you good algorithm ideas in the other thread. Comparing a couple of the verticies (or even vector slopes) won't work in general for concave polygons.

You could use the routine in Re: Re: Clockwise or Counter-clockwise and solve this problem easily. It's the same algorithm as GreenTheoremTest without the extra object calls.