Quaternion.to_matrix

Returns the quaternion as matrix.

struct Quaternion(type)
@safe pure nothrow const
Matrix!(qt, rows, cols)
to_matrix
(
int rows
int cols
)
()
if (
(rows >= 3) &&
(cols >= 3)
)

Parameters

rows

number of rows of the resulting matrix (min 3)

cols

number of columns of the resulting matrix (min 3)

Meta