1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-19 23:12:21 +02:00

fix curve lowering

This commit is contained in:
Pomax
2019-08-27 08:54:51 -07:00
parent cc2a505cba
commit ebe5cde83e
6 changed files with 6 additions and 5 deletions

View File

@@ -650,7 +650,7 @@ var Reordering = {
// build M, which will be (k) rows by (k-1) columns
for(i=0; i<k; i++) {
M[i] = (new Array(k)).fill(0);
M[i] = (new Array(k - 1)).fill(0);
if(i===0) { M[i][0] = 1; }
else if(i===n) { M[i][i-1] = 1; }
else {