fix for some pool nesting errors
This commit is contained in:
parent
e001ab4505
commit
6cbf5abba0
3 changed files with 13 additions and 14 deletions
|
|
@ -828,10 +828,9 @@
|
|||
*/
|
||||
PRO.isInside = function(poly, tolerance) {
|
||||
// throw new Error("isInside");
|
||||
if (!(
|
||||
// poly.overlaps(this) &&
|
||||
this.bounds.isNested(poly.bounds)
|
||||
)) return false;
|
||||
if (!this.bounds.isNested(poly.bounds, tolerance * 3)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
let mid,
|
||||
midcheck,
|
||||
|
|
|
|||
Loading…
Reference in a new issue