Quaternion.identity constructor

Quaternion.identity()

Constructs a quaternion set to the identity quaternion.

Implementation

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