Function: getConvexHull()
Меньше 1 минуты
Function: getConvexHull()
getConvexHull(
points):Vector3[]
Computes the 2D convex hull of a set of points (Andrew's monotone chain). Only uses x, y components.
Parameters
points
Vector3[]
Returns
Vector3[]