[][src]Function tray_rust::linalg::solve_quadratic

pub fn solve_quadratic(a: f32, b: f32, c: f32) -> Option<(f32, f32)>

Try to solve the quadratic equation a*t^2 + b*t + c = 0 and return the two real roots if a solution exists