inverse

Calculates the inverse of the quaternion and stores it in the provided quaternion.

Parameters

res

The quaternion to store the inverse in.


Calculates the inverse of the provided quaternion and stores it in the provided quaternion.

Parameters

q

The quaternion to calculate the inverse of.

res

The quaternion to store the inverse in.