linearly v0.32.0 • Docs
linearly v0.32.0 / vec3 / transformQuat
Function: transformQuat()
transformQuat(
a
,q
):vec3
Transforms the vec3 with a quat Can also be used for dual quaternions. (Multiply it with the real part)
Parameters
• a: vec3
the vector to transform
• q: quat
quaternion to transform with