Matrix2.identity constructor
Matrix2.identity()
Identity matrix.
Implementation
factory Matrix2.identity() => Matrix2.zero()
.._m2storage[0] = 1.0
.._m2storage[3] = 1.0;
Identity matrix.
factory Matrix2.identity() => Matrix2.zero()
.._m2storage[0] = 1.0
.._m2storage[3] = 1.0;