Matrix4.identity constructor

Matrix4.identity()

Identity matrix.

Implementation

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