rotatedTo

open override fun rotatedTo(orientation: AngleF): MutableSquare

Returns a copy of this object that is rotated to the orientation.


open override fun rotatedTo(orientation: ComplexF): MutableSquare

Returns a copy of this object that is rotated to the orientation.

Parameters

orientation

the value is expected to be normalized.