Quaternion.random constructor
Constructs a quaternion with a random rotation. The random number
generator rn
is used to generate the random numbers for the rotation.
Implementation
factory Quaternion.random(math.Random rn) =>
new Quaternion._()..setRandom(rn);