@needle-tools/three 0.185.0 → 0.185.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/three.cjs CHANGED
@@ -6,7 +6,7 @@
6
6
  'use strict';
7
7
 
8
8
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
9
- const REVISION = '185.0';
9
+ const REVISION = '185.1';
10
10
 
11
11
  /**
12
12
  * Represents mouse buttons and interaction types in context of controls.
@@ -59510,7 +59510,8 @@ class ShapePath {
59510
59510
  for ( let j = i - 1; j >= 0; j -- ) {
59511
59511
 
59512
59512
  const candidate = entries[ j ];
59513
- if ( ! candidate.boundingBox.containsPoint( entry.interiorPoint ) ) continue;
59513
+
59514
+ if ( ! candidate.boundingBox.containsBox( entry.boundingBox ) ) continue;
59514
59515
  if ( ! pointInPolygon( entry.interiorPoint, candidate.points ) ) continue;
59515
59516
 
59516
59517
  entry.container = candidate.exclude ? candidate.container : candidate;
@@ -3,7 +3,7 @@
3
3
  * Copyright 2010-2026 Three.js Authors
4
4
  * SPDX-License-Identifier: MIT
5
5
  */
6
- const REVISION = '185.0';
6
+ const REVISION = '185.1';
7
7
 
8
8
  /**
9
9
  * Represents mouse buttons and interaction types in context of controls.
@@ -59529,7 +59529,8 @@ class ShapePath {
59529
59529
  for ( let j = i - 1; j >= 0; j -- ) {
59530
59530
 
59531
59531
  const candidate = entries[ j ];
59532
- if ( ! candidate.boundingBox.containsPoint( entry.interiorPoint ) ) continue;
59532
+
59533
+ if ( ! candidate.boundingBox.containsBox( entry.boundingBox ) ) continue;
59533
59534
  if ( ! pointInPolygon( entry.interiorPoint, candidate.points ) ) continue;
59534
59535
 
59535
59536
  entry.container = candidate.exclude ? candidate.container : candidate;