Transform.rotated

Returns a rotated copy of Transform.

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

Parameters

angle FT

Rotation angle in radians

Meta