Transform.fromXRotation

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

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

Parameters

angle FT

Rotation angle in radians

Meta