Math module

Matrix4_Identity

constantSource

The 4x4 identity: ones on the diagonal, zeros elsewhere.

Example↗
v := xyz(1, 2, 3);
assert(transform_point(Matrix4_Identity, v) == v);
Matrix4_Identity :: Matrix4.{ _11 = 1, _22 = 1, _33 = 1, _44 = 1 }

See also