rotate

abstract fun rotate(angle: Double)

Counterclockwise rotation.

Parameters

angle

the angle in radians


open fun rotate(direction: Euclidean2DPosition)

Rotates toward the specified direction.

Parameters

direction

the direction vector