Quaternion.identity constructor

Quaternion.identity()

Constructs a quaternion set to the identity quaternion.

Implementation

factory Quaternion.identity() => Quaternion._().._qStorage[3] = 1.0;