operator == method

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

Check if two quaternions are the same.

Implementation

@override
bool operator ==(Object other) =>
    (other is Quaternion) &&
    (_qStorage[3] == other._qStorage[3]) &&
    (_qStorage[2] == other._qStorage[2]) &&
    (_qStorage[1] == other._qStorage[1]) &&
    (_qStorage[0] == other._qStorage[0]);