fix first position, indexed first position
This commit is contained in:
parent
3452297dc6
commit
495c32bcbd
4 changed files with 14 additions and 12 deletions
|
|
@ -81,7 +81,7 @@ class Point {
|
|||
|
||||
clone() {
|
||||
let p = newPoint(this.x, this.y, this.z, this._key);
|
||||
if (this.a) {
|
||||
if (this.a !== undefined) {
|
||||
p.a = this.a;
|
||||
}
|
||||
return p;
|
||||
|
|
|
|||
Loading…
Reference in a new issue