multiplySkipIdentity static method
Implementation
static Mat2D multiplySkipIdentity(Mat2D a, Mat2D b) {
if (a == Mat2D.identity) {
return b;
} else if (b == Mat2D.identity) {
return a;
} else {
return multiply(Mat2D(), a, b);
}
}