Overview of Matrix2D for 2D transformations
The Matrix2D class implements TypeWebGLConvertible and represents a 2D transformation using a specialized 2x3 matrix. It contains six elements defined as [a, b, c, d, tx, ty], which serves as a shortcut for a 3x3 matrix of the form:
[a, b, 0]
[c, d, 0]
[tx, ty, 1]
Because it ignores z-values, it does not satisfy all standard 3x3 matrix properties: it has no transpose, and distributive/scalar properties (like A(B + C) = AB + AC) do not hold.