asRotationMatrix method Null safety

Matrix3 asRotationMatrix()

Returns a rotation matrix containing the same rotation as this.

Implementation

Matrix3 asRotationMatrix() => copyRotationInto(Matrix3.zero());