Transform.fromYRotation

Constructs a new Transform representing a 3D rotation aroud the Y axis.

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

Parameters

angle FT

Rotation angle in radians

Meta