linearly v0.32.0Docs


linearly v0.32.0 / mat4 / fromRotationTranslation

Function: fromRotationTranslation()

fromRotationTranslation(q, v): mat4

Creates a matrix from a quaternion rotation and vector translation

Parameters

q: quat

v: vec3

Returns

mat4

Defined in

src/mat4.ts:705open in new window