code: public double dot(Quaterniondc otherQuat) {
          return this.x * otherQuat.x() + this.y * otherQuat.y() + this.z * otherQuat.z() + this.w * otherQuat.w();
      }
docs: /* (non-Javadoc)
  @see org.joml.Quaterniondc#dot(org.joml.Quaterniondc)