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