Transform.rotate

Apply 2D rotation in-place.

struct Transform(T, uint Dim, TransformOptions options = TransformOptions.none)
ref return
static if(Dim >= 2)
rotate
(
const FT angle
)
if (
Dim > 0
)

Parameters

angle FT

Rotation angle in radians

Return Value

Type: Transform

this

Meta