Function makeSquarePolyline

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

    Parameters

    • length: number

      The length of the square.

    • clockwise: boolean = false

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

    Returns vec2[]

Generated using TypeDoc