equals method

bool equals(
  1. Quaternion quaternion
)

Implementation

bool equals(Quaternion quaternion) {
  return (quaternion._x == _x) &&
      (quaternion._y == _y) &&
      (quaternion._z == _z) &&
      (quaternion._w == _w);
}