Function makeCirclePolyline

  • Make a circle polyline; a line which creates a circle polygon.

    Parameters

    • radius: number

      The radius of the circle.

    • clockwise: boolean = false

      Should the polyline be in clockwise order? False by default.

    • subDivisions: number = 12

      The amount of segments in the circle. 12 by default.

    Returns vec2[]

Generated using TypeDoc