Sets the matrix m points to the identity, for any of the matrix types. Matrix4x3 and Matrix4 get zero translation.
m: Matrix3;
m._12 = 4;
identity(*m);
assert(m == Matrix3_Identity);identity :: (m: *$T/interface AnyMatrix)
Sets the matrix to the identity, in place.
Parameters
- m: *$T/interface AnyMatrix
- the matrix to change.