toMatrix4

Converts a quaternion into matrix 4x4.

Matrix!(T, 4, 4)
toMatrix4
(
T
)
(
const Quaternion!T q
)

Parameters

q Quaternion!T

target quaternion

Return Value

Type: Matrix!(T, 4, 4)

converted matrix

Meta