Skip to main content

blend

Function blend 

Source
fn blend(patch: &mut [f64], neighbor: &[f64], dir: usize)
Expand description

Blend the leading OVERLAP slabs of patch with the trailing slabs of a previously-placed neighbor along dir (0=x,1=y,2=z), ramping neighbor→patch (matches util.patch_process).