From dd1a7458641da37e3d54a5942451e80d4d0c1cbd Mon Sep 17 00:00:00 2001 From: Val Erastov Date: Fri, 9 Dec 2016 11:41:10 -0800 Subject: [PATCH] remove unused data-structure --- web/app/math/bezier-cubic.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/web/app/math/bezier-cubic.js b/web/app/math/bezier-cubic.js index 2b06f3a8..09d14ea9 100644 --- a/web/app/math/bezier-cubic.js +++ b/web/app/math/bezier-cubic.js @@ -31,10 +31,3 @@ export function compute(t, from, to, controlPoint1, controlPoint2) { a * p0.z + b * p1.z + c * p2.z + d * p3.z ); } - -function CurveData(a, b, cp1, cp2) { - this.a = a; - this.b = b; - this.cp1 = cp1; - this.cp2 = cp2; -}