Function center2

  • Calculate the geometric center of a given array of points

    Parameters

    • v: Vec2[]

      array of points

    Returns Vec2

    the geometric center point

Generated using TypeDoc