pub fn cubic_interpolate_in_time( from: f64, to: f64, pre: f64, post: f64, weight: f64, to_t: f64, pre_t: f64, post_t: f64, ) -> f64