mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-18 22:41:49 +02:00
.
This commit is contained in:
@@ -286,7 +286,7 @@ var Graphic = React.createClass({
|
||||
},
|
||||
|
||||
drawHull: function(curve, t, offset) {
|
||||
var hull = curve.hull(t);
|
||||
var hull = typeof curve === "array" ? curve : curve.hull(t);
|
||||
if(hull.length === 6) {
|
||||
this.drawLine(hull[0], hull[1], offset);
|
||||
this.drawLine(hull[1], hull[2], offset);
|
||||
|
Reference in New Issue
Block a user