Function sd_box

Source
fn sd_box(px: f32, py: f32, bx: f32, by: f32) -> f32
Expand description

Signed distance to a box of half-size (bx, by).