File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -112,10 +112,10 @@ class LinearInterpolator extends AbstractInterpolator
112
112
113
113
114
114
class CubicInterpolator extends AbstractInterpolator
115
- constructor : (array , config )->
115
+ constructor : (array , config ) ->
116
+ super arguments ...
116
117
# clamp cubic tension to [0,1] range
117
118
@tangentFactor = 1 - Math .max 0 , Math .min 1 , config .cubicTension
118
- super
119
119
120
120
# Cardinal spline with tension 0.5)
121
121
getTangent : (k ) -> @tangentFactor * (@ getClippedInput (k + 1 ) - @ getClippedInput (k - 1 ))/ 2
@@ -143,7 +143,7 @@ makeSincKernel = (window) -> (x) -> sinc(x)*window(x)
143
143
144
144
class SincFilterInterpolator extends AbstractInterpolator
145
145
constructor : (array , config ) ->
146
- super
146
+ super arguments ...
147
147
# Create the lanczos kernel function
148
148
@a = config .sincFilterSize
149
149
You can’t perform that action at this time.
0 commit comments