isZero property

bool get isZero
inherited

True if this is the zero matrix.

Implementation

bool get isZero {
  for (var i = 0; i < 16; i += 1) {
    if (this[i] != 0.0) {
      return false;
    }
  }

  return true;
}