07-15-2024, 03:07 PM
(07-14-2024, 06:55 PM)bplus Wrote: If you want something done right... don't wait for bplus to do it because he will post blunderful code many times before he gets this simple thing rightIs this supposed to be a polygon? You can also see it as a triangle.
EDIT: oh crap min and max was not calculating correctly, fixed
something is still off!
Fixed: dividing by number of points does not work with ubound of array that starts at 0
Then had to reset everything like max and min to loop through many, many examples with different amounts of points.