RegularPolygon

fun RegularPolygon(center: Vector2F, orientation: ComplexF, sideLength: Float, sideCount: Int): RegularPolygon

Creates a new instance of RegularPolygon.

Parameters

orientation

the value is expected to be normalized.

Throws

when sideCount is less than two.