Closed indiscripts closed 11 months ago
The compute() function of utils.js contains an assignement that seems wrong:
compute()
utils.js
// . . . if (typeof dCpts[i].z !== "undefined") { dCpts[i] = dCpts[i].z + (dCpts[i + 1].z - dCpts[i].z) * t; } // . . .
IMHO it should be replaced by:
// . . . if (typeof dCpts[i].z !== "undefined") { dCpts[i].z = dCpts[i].z + (dCpts[i + 1].z - dCpts[i].z) * t; } // . . .
Well spotted. updated in https://github.com/Pomax/bezierjs/commit/62267dd6b42e043a99974425b9821f5896e7d5ab
Fixed in 6.1.4
The
compute()
function ofutils.js
contains an assignement that seems wrong:IMHO it should be replaced by: