First, thanks for the great library! This is awesome :> It helps me a lot.
.split(0, 0) returns what .split(0) returns, which has left and right curves.
I think .split(0, 0) should return single curve with zero length since it explicitly splits between 0 and 0.
Hmm, good point, But I'd probably make split(a,b) throw on a===b instead, as there isn't anything to return in that case, so whatever code is getting invoked almost certainly has a bug.
First, thanks for the great library! This is awesome :> It helps me a lot.
.split(0, 0)
returns what.split(0)
returns, which hasleft
andright
curves. I think.split(0, 0)
should return single curve with zero length since it explicitly splits between 0 and 0.