Function makeRectanglePolyline

  • Make a rectangular polyline; a line which creates a rectangle polygon.

    Parameters

    • width: number

      The width of the rectangle.

    • height: number

      The height of the rectangle.

    • clockwise: boolean = false

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

    Returns vec2[]

Generated using TypeDoc