init_identity


Description:

public void init_identity ()

Initializes the quaternion with the canonical quaternion identity [1 (0, 0, 0)] which represents no rotation.

Multiplying a quaternion with this identity leaves the quaternion unchanged.

You might also want to consider using get_static_identity_quaternion .

Parameters:

this

An uninitialized Quaternion