normalize

fun normalize(quaternion: Quaternion, result: Quaternion): Quaternion(source)

Computes the normalized form of the provided quaternion.

Return

The modified result parameter.

Parameters

quaternion

The quaternion to normalize.

result

The object onto which to store the result.

See also