trim more fields that don't need to be pre-allocated
This commit is contained in:
parent
6337cae736
commit
2ebc85458f
3 changed files with 6 additions and 7 deletions
|
|
@ -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);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue