export const smoothUnion = defParamOp((a, b, k) => {
    const h = clamp01(0.5 + (0.5 * (b - a)) / k);
    return mix(b, a, h) - k * h * (1 - h);
});