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