bezier1
pub fn cubic<T, F>(p0: &T, p1: &T, p2: &T, t: &F) -> T where T: Clone + Cast<F>, F: Clone + One + Zero + FromPrimitive + PartialOrd + Cast<T>, &'a F: Sub<&'b F, Output = F> + Mul<&'b F, Output = F>,