MatrixD.identity constructor
MatrixD.identity()
Returns the 4x4 identity matrix.
Implementation
factory MatrixD.identity() => .mat4(
1, 0, 0, 0,
0, 1, 0, 0,
0, 0, 1, 0,
0, 0, 0, 1,
);
Returns the 4x4 identity matrix.
factory MatrixD.identity() => .mat4(
1, 0, 0, 0,
0, 1, 0, 0,
0, 0, 1, 0,
0, 0, 0, 1,
);