[−][src]Function pbrt::core::pbrt::quadratic
pub fn quadratic(
a: Float,
b: Float,
c: Float,
t0: &mut Float,
t1: &mut Float
) -> bool
Find solution(s) of the quadratic equation at2 + bt + c = 0.
pub fn quadratic(
a: Float,
b: Float,
c: Float,
t0: &mut Float,
t1: &mut Float
) -> bool
Find solution(s) of the quadratic equation at2 + bt + c = 0.