isConvex(pts: Vec2[] ): boolean

Builds the convex hull of a polygon. Note that even if the polygon is already convex, colinear points will be erased.

returnstrue if the given polygon is convex

sincev3001.0

groupMath

subgroupAdvanced