rotate

Rotates the point by the specified number of degrees.

@safe nothrow pure
rotate
(,
float angle
,
Vecf center = vecf(0, 0)
)

Parameters

vec Vecf

Point.

angle float

Angle of rotation.

center Vecf

Center of rotation.

Meta