normalize

Normalizes the provided quaternion and stores the result in the provided quaternion.

Parameters

q

The quaternion to normalize.


fun normalize()

Normalizes this quaternion.