Remove unneeded comments.

This commit is contained in:
Dimitri Sabadie 2019-09-24 17:40:01 +02:00
parent 1bfd9a0e7c
commit 3ab98420c8
No known key found for this signature in database
GPG Key ID: 784B10173D70584F

View File

@ -136,11 +136,6 @@ impl<T, V> Spline<T, V> {
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))
}