Skip to main content

quat_mul

Function quat_mul 

Source
pub fn quat_mul(a: [f32; 4], b: [f32; 4]) -> [f32; 4]
Expand description

Multiply two unit quaternions a and b (Hamilton product).

Format for both operands and the result: [x, y, z, w].