min method

Q min(
  1. Q o
)

Returns a new quaternion with each component being the component-wise minimum of this and o.

Implementation

Q min(Q o) => _q(
  math.min(x, o.x),
  math.min(y, o.y),
  math.min(z, o.z),
  math.min(w, o.w),
);