Unify the precision management of geometries
This commit is contained in:
parent
15c7381673
commit
84a8cb809c
6 changed files with 45 additions and 39 deletions
|
@ -116,11 +116,6 @@ module.exports = class SpiroExpansionContext {
|
|||
}
|
||||
}
|
||||
};
|
||||
function zeroes(n) {
|
||||
let a = new Array(n);
|
||||
for (let i = 0; i < n; ++i) a[i] = 0;
|
||||
return a;
|
||||
}
|
||||
function normalX(angle, contrast) {
|
||||
return Math.cos(angle) * contrast;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue