linearly v0.32.0Docs


linearly v0.32.0 / mat4 / fromQuat

Function: fromQuat()

fromQuat(q): mat4

Calculates a 4x4 matrix from the given quaternion

Parameters

q: quat

Quaternion to create matrix from

Returns

mat4

Defined in

src/mat4.ts:1014open in new window