mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-11 19:24:07 +02:00
rewrite to handler.js format
This commit is contained in:
16
components/sections/bsplines/handler.js
Normal file
16
components/sections/bsplines/handler.js
Normal file
@@ -0,0 +1,16 @@
|
||||
module.exports = {
|
||||
basicSketch: require('./basic-sketch'),
|
||||
interpolationGraph: require('./interpolation-graph'),
|
||||
uniformBSpline: require('./uniform-bspline'),
|
||||
centerCutBSpline: require('./center-cut-bspline'),
|
||||
openUniformBSpline: require('./open-uniform-bspline'),
|
||||
rationalUniformBSpline: require('./rational-uniform-bspline'),
|
||||
|
||||
bindKnots: function(owner, knots, ref) {
|
||||
this.refs[ref].bindKnots(owner, knots);
|
||||
},
|
||||
|
||||
bindWeights: function(owner, weights, closed, ref) {
|
||||
this.refs[ref].bindWeights(owner, weights, closed);
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user