Quaternion.fromRotation constructor
- Matrix3 rotationMatrix
 
Constructs a quaternion from a rotation matrix rotationMatrix.
Implementation
factory Quaternion.fromRotation(Matrix3 rotationMatrix) =>
    Quaternion._()..setFromRotation(rotationMatrix);