Function isConvex

  • Checks if a polygon is convex

    Parameters

    • points: Vec2[]

      List of points that make up the polygon

    Returns boolean

    Returns true of the polygon is convex, false if it is concave

Generated using TypeDoc