operator == method

  1. @override
bool operator ==(
  1. Object other
)
override

Check if two matrices are the same.

Implementation

@override
bool operator ==(Object other) =>
    (other is Matrix4) &&
    (_m4storage[0] == other._m4storage[0]) &&
    (_m4storage[1] == other._m4storage[1]) &&
    (_m4storage[2] == other._m4storage[2]) &&
    (_m4storage[3] == other._m4storage[3]) &&
    (_m4storage[4] == other._m4storage[4]) &&
    (_m4storage[5] == other._m4storage[5]) &&
    (_m4storage[6] == other._m4storage[6]) &&
    (_m4storage[7] == other._m4storage[7]) &&
    (_m4storage[8] == other._m4storage[8]) &&
    (_m4storage[9] == other._m4storage[9]) &&
    (_m4storage[10] == other._m4storage[10]) &&
    (_m4storage[11] == other._m4storage[11]) &&
    (_m4storage[12] == other._m4storage[12]) &&
    (_m4storage[13] == other._m4storage[13]) &&
    (_m4storage[14] == other._m4storage[14]) &&
    (_m4storage[15] == other._m4storage[15]);