Clarify handedness of quaternion multiplication
This commit is contained in:
parent
c9e45f679e
commit
5637034445
@ -136,7 +136,7 @@ end
|
||||
--- Multiply two quaternions.
|
||||
-- @tparam quat a Left hand operand
|
||||
-- @tparam quat b Right hand operand
|
||||
-- @treturn quat out
|
||||
-- @treturn quat quaternion equivalent to "apply b, then a"
|
||||
function quat.mul(a, b)
|
||||
return new(
|
||||
a.x * b.w + a.w * b.x + a.y * b.z - a.z * b.y,
|
||||
|
Loading…
x
Reference in New Issue
Block a user