Matrix4.identity constructor
Identity matrix.
Implementation
factory Matrix4.identity() => Matrix4.zero()
.._m4storage[0] = 1.0
.._m4storage[5] = 1.0
.._m4storage[10] = 1.0
.._m4storage[15] = 1.0;
Identity matrix.
factory Matrix4.identity() => Matrix4.zero()
.._m4storage[0] = 1.0
.._m4storage[5] = 1.0
.._m4storage[10] = 1.0
.._m4storage[15] = 1.0;