postmultiply method Null safety
- Matrix2 arg
Transforms this into the product of this as a row vector,
postmultiplied by matrix, arg
.
If arg
is a rotation matrix, this is a computational shortcut for applying,
the inverse of the transformation.
Implementation
void postmultiply(Matrix2 arg) {
final argStorage = arg.storage;
final v0 = _v2storage[0];
final v1 = _v2storage[1];
_v2storage[0] = v0 * argStorage[0] + v1 * argStorage[1];
_v2storage[1] = v0 * argStorage[2] + v1 * argStorage[3];
}