copy

abstract fun copy(center: Vector2F = this.center, orientation: ComplexF = this.orientation, sideLength: Float = this.sideLength): Square

Returns a copy of this instance with specified properties changed.

Parameters

orientation

the value is expected to be normalized.