copy

open override fun copy(center: Vector2F, orientation: ComplexF, sideLength: Float, sideCount: Int): MutableRegularPolygon

Returns a copy of this instance with specified properties changed.

Parameters

orientation

the value is expected to be normalized.

Throws

when sideCount is less than two.