pub unsafe extern "C" fn quadratic_dist_attn(
    dist: f32,
    linear: f32,
    quad_t: f32
) -> f32