add

fun add(left: Quaternion, right: Quaternion, result: Quaternion): Quaternion(source)

Computes the componentwise sum of two quaternions.

Return

The modified result parameter.

Parameters

left

The first quaternion.

right

The second quaternion.

result

The object onto which to store the result.

See also