Skip to main content

sdf_union

Function sdf_union 

Source
pub fn sdf_union(a: f64, b: f64) -> f64
Expand description

SDF union: take the minimum of two distances.

The result is the SDF of the shape that is the union of the two objects.