Filter/mirror bugfix
This commit is contained in:
parent
480c362c1e
commit
f0d22328cd
4 changed files with 52 additions and 61 deletions
|
@ -76,4 +76,11 @@ module.exports = class Point {
|
|||
const dy = other.y - this.y
|
||||
return -Math.atan2(dx, dy) * (180 / Math.PI)
|
||||
}
|
||||
|
||||
equals(other) {
|
||||
return this.x === other.x
|
||||
&& this.y === other.y
|
||||
&& this.r === other.r
|
||||
&& JSON.stringify(this.meta) === JSON.stringify(other.meta)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue