Remove unneeded comments.
This commit is contained in:
parent
1bfd9a0e7c
commit
3ab98420c8
@ -136,11 +136,6 @@ impl<T, V> Spline<T, V> {
|
|||||||
|
|
||||||
if let Interpolation::Bezier(v) = cp1.interpolation {
|
if let Interpolation::Bezier(v) = cp1.interpolation {
|
||||||
Some(Interpolate::cubic_bezier(cp0.value, u, v, cp1.value, nt))
|
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 {
|
} else {
|
||||||
Some(Interpolate::quadratic_bezier(cp0.value, u, cp1.value, nt))
|
Some(Interpolate::quadratic_bezier(cp0.value, u, cp1.value, nt))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user