Matrix.xRotation

Returns an identity matrix with an applied rotation around the x-axis (nxn matrices, n >= 3).

struct Matrix(type, int rows_, int cols_)
@safe pure nothrow static
static if((rows == cols) && (rows >= 3))
static if(isFloatingPoint!mt)
xRotation
(
real alpha
)
if (
(rows_ > 0) &&
(cols_ > 0)
)

Meta