Skip to main content

sphere_heightfield_contact

Function sphere_heightfield_contact 

Source
pub fn sphere_heightfield_contact(
    center: Vec3,
    radius: f32,
    hf: &HeightfieldShape,
) -> Option<(Vec3, Vec3, f32)>