Rectangle

fun Rectangle(center: Vector2F, orientation: ComplexF, width: Float, height: Float): Rectangle

Creates a new instance of Rectangle.

Parameters

orientation

the value is expected to be normalized.

Throws

when height is less than zero.