absolute method

Matrix4 absolute ()

Returns the component wise absolute value of this.

Implementation

Matrix4 absolute() {
  final Matrix4 r = new Matrix4.zero();
  final Float64List rStorage = r._m4storage;
  rStorage[0] = _m4storage[0].abs();
  rStorage[1] = _m4storage[1].abs();
  rStorage[2] = _m4storage[2].abs();
  rStorage[3] = _m4storage[3].abs();
  rStorage[4] = _m4storage[4].abs();
  rStorage[5] = _m4storage[5].abs();
  rStorage[6] = _m4storage[6].abs();
  rStorage[7] = _m4storage[7].abs();
  rStorage[8] = _m4storage[8].abs();
  rStorage[9] = _m4storage[9].abs();
  rStorage[10] = _m4storage[10].abs();
  rStorage[11] = _m4storage[11].abs();
  rStorage[12] = _m4storage[12].abs();
  rStorage[13] = _m4storage[13].abs();
  rStorage[14] = _m4storage[14].abs();
  rStorage[15] = _m4storage[15].abs();
  return r;
}