Function
isConvex
(pts: Vec2[]): booleanBuilds the convex hull of a polygon. Note that even if the polygon is already convex, colinear points will be erased.
returns true if the given polygon is convex
since v3001.0
group Math
subgroup Advanced