Skip to main content

sdf_cylinder

Function sdf_cylinder 

Source
pub fn sdf_cylinder(p: Vec3, height: f32, radius: f32) -> f32
Expand description

Signed distance from point to cylinder.