pub fn time_handles_valid(x1: f32, x2: f32) -> bool
Whether a cubic from time 0 to 1 with inner time coordinates x1, x2 never runs backwards.
x1
x2
That is x1 >= 0, x2 <= 1, and x2 >= x1 or (x1 - x2)^2 <= x1 * (1 - x2).
x1 >= 0
x2 <= 1
x2 >= x1
(x1 - x2)^2 <= x1 * (1 - x2)