Square

fun Square(center: Vector2F, orientation: ComplexF, sideLength: Float): Square

Creates a new instance of Square.

Parameters

orientation

the value is expected to be normalized.

Throws

when sideLength is less than zero.