isEqual static method

bool isEqual(
  1. Quaternion a,
  2. Quaternion b
)

Implementation

static bool isEqual(Quaternion a, Quaternion b) {
  return a.x == b.x && a.y == b.y && a.z == b.z && a.w == b.w;
}