Skip to content

Commit

Permalink
Update utils.js
Browse files Browse the repository at this point in the history
assignment lacked dimension
  • Loading branch information
Pomax committed Jul 16, 2023
1 parent cb45474 commit 62267dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ const utils = {
y: dCpts[i].y + (dCpts[i + 1].y - dCpts[i].y) * t,
};
if (typeof dCpts[i].z !== "undefined") {
dCpts[i] = dCpts[i].z + (dCpts[i + 1].z - dCpts[i].z) * t;
dCpts[i].z = dCpts[i].z + (dCpts[i + 1].z - dCpts[i].z) * t;
}
}
dCpts.splice(dCpts.length - 1, 1);
Expand Down

0 comments on commit 62267dd

Please sign in to comment.