From 3ab98420c8b2b699db5470415a857060ec3adc4a Mon Sep 17 00:00:00 2001 From: Dimitri Sabadie Date: Tue, 24 Sep 2019 17:40:01 +0200 Subject: [PATCH] Remove unneeded comments. --- src/spline.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/spline.rs b/src/spline.rs index 7646104..01463e9 100644 --- a/src/spline.rs +++ b/src/spline.rs @@ -136,11 +136,6 @@ impl Spline { if let Interpolation::Bezier(v) = cp1.interpolation { Some(Interpolate::cubic_bezier(cp0.value, u, v, cp1.value, nt)) - //let one_nt = T::one() - nt; - //let one_nt_2 = one_nt * one_nt; - //let one_nt_3 = one_nt_2 * one_nt; - //let three_one_nt_2 = one_nt_2 + one_nt_2 + one_nt_2; // one_nt_2 * 3 - //let r = cp0.value * one_nt_3; } else { Some(Interpolate::quadratic_bezier(cp0.value, u, cp1.value, nt)) }