trim more fields that don't need to be pre-allocated

This commit is contained in:
Stewart Allen 2021-07-04 21:17:30 -04:00
commit 2ebc85458f
3 changed files with 6 additions and 7 deletions

View file

@ -20,7 +20,6 @@
if (key) {
this._key = key;
}
this.poly = null; // parent polygon
}
get key() {
@ -38,7 +37,9 @@
const PRO = Point.prototype;
BASE.Point = Point;
BASE.newPoint = newPoint;
BASE.pointFromClipper = function(cp, z) {
return newPoint(cp.X / CONF.clipper, cp.Y / CONF.clipper, z);
};