Merge pull request #31 from mcclure/quat-mult
Clarify handedness of quaternion multiplication in documentation
This commit is contained in:
commit
cf704d760e
@ -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