Skip to main content

sdf_intersection

Function sdf_intersection 

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

SDF intersection: take the maximum of two distances.

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