rotate

abstract fun rotate(angle: Double)(source)

Counterclockwise rotation.

Parameters

angle

the angle in radians


open fun rotate(direction: Euclidean2DPosition)(source)

Rotates toward the specified direction.

Parameters

direction

the direction vector