@xeokit/xeokit-sdk 2.6.106 → 2.6.107

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/README.md CHANGED
@@ -106,6 +106,11 @@ and [OBJ](https://xeokit.github.io/xeokit-sdk/docs/class/src/plugins/OBJLoaderPl
106
106
  </script>
107
107
  </html>
108
108
  ````
109
+ ---
110
+ ## Deprecation Notice: ES5 and CJS Builds
111
+
112
+ Starting from **September 2026**, the ES5/UMD and CommonJS builds will no longer be included in the npm package. Maintaining ES5 compatibility requires extensive transpilation and polyfilling that is increasingly difficult to sustain as the codebase evolves. Going forward, only the ES module builds (`xeokit-sdk.es.js` and `xeokit-sdk.min.es.js`) will be provided, which are compatible with all modern browsers and bundlers.
113
+
109
114
  ---
110
115
  ## 📜 Licensing & Commercial Use
111
116
 
@@ -1,11 +1,11 @@
1
1
  /**
2
- * xeokit-sdk v2.6.106
3
- * Commit: 198ae9cbd40c72fbcea53b2edf08d98c6fdac33e
4
- * Built: 2026-02-20T12:48:25.197Z
2
+ * xeokit-sdk v2.6.107
3
+ * Commit: a1558d52a694d6b8435eb85661f0d13b0a1a6fea
4
+ * Built: 2026-03-12T09:08:30.647Z
5
5
  */
6
6
 
7
7
  if (typeof window !== 'undefined') {
8
- window.__XEOKIT__ = { version: '2.6.106', commit: '198ae9cbd40c72fbcea53b2edf08d98c6fdac33e', built: '2026-02-20T12:48:25.197Z' };
8
+ window.__XEOKIT__ = { version: '2.6.107', commit: 'a1558d52a694d6b8435eb85661f0d13b0a1a6fea', built: '2026-03-12T09:08:30.647Z' };
9
9
  }
10
10
 
11
11
  'use strict';
@@ -41067,11 +41067,13 @@ class SceneModel extends Component {
41067
41067
  if (testNumVisibleLayerPortions && (this.numVisibleLayerPortions === 0)) {
41068
41068
  return;
41069
41069
  }
41070
+ const activeSectionPlanes = this.scene._sectionPlanesState.sectionPlanes.filter(p => p.active);
41070
41071
  const testLayerCull = frameCtx.testAABB;
41071
41072
  const renderFlags = this.renderFlags;
41072
41073
  for (let i = 0, len = renderFlags.visibleLayers.length; i < len; i++) {
41073
41074
  const layer = this.layerList[renderFlags.visibleLayers[i]];
41074
- if ((! testLayerCull) || testLayerCull(layer.getAABB())) {
41075
+ const aabb = layer.getAABB();
41076
+ if (((! testLayerCull) || testLayerCull(aabb)) && activeSectionPlanes.every(p => math.planeAABB3Intersect(p.dir, p.dist, aabb) >= 0)) {
41075
41077
  cb(layer);
41076
41078
  }
41077
41079
  }
@@ -1,11 +1,11 @@
1
1
  /**
2
- * xeokit-sdk v2.6.106
3
- * Commit: 198ae9cbd40c72fbcea53b2edf08d98c6fdac33e
4
- * Built: 2026-02-20T12:48:25.197Z
2
+ * xeokit-sdk v2.6.107
3
+ * Commit: a1558d52a694d6b8435eb85661f0d13b0a1a6fea
4
+ * Built: 2026-03-12T09:08:30.647Z
5
5
  */
6
6
 
7
7
  if (typeof window !== 'undefined') {
8
- window.__XEOKIT__ = { version: '2.6.106', commit: '198ae9cbd40c72fbcea53b2edf08d98c6fdac33e', built: '2026-02-20T12:48:25.197Z' };
8
+ window.__XEOKIT__ = { version: '2.6.107', commit: 'a1558d52a694d6b8435eb85661f0d13b0a1a6fea', built: '2026-03-12T09:08:30.647Z' };
9
9
  }
10
10
 
11
11
  /** @private */
@@ -41063,11 +41063,13 @@ class SceneModel extends Component {
41063
41063
  if (testNumVisibleLayerPortions && (this.numVisibleLayerPortions === 0)) {
41064
41064
  return;
41065
41065
  }
41066
+ const activeSectionPlanes = this.scene._sectionPlanesState.sectionPlanes.filter(p => p.active);
41066
41067
  const testLayerCull = frameCtx.testAABB;
41067
41068
  const renderFlags = this.renderFlags;
41068
41069
  for (let i = 0, len = renderFlags.visibleLayers.length; i < len; i++) {
41069
41070
  const layer = this.layerList[renderFlags.visibleLayers[i]];
41070
- if ((! testLayerCull) || testLayerCull(layer.getAABB())) {
41071
+ const aabb = layer.getAABB();
41072
+ if (((! testLayerCull) || testLayerCull(aabb)) && activeSectionPlanes.every(p => math.planeAABB3Intersect(p.dir, p.dist, aabb) >= 0)) {
41071
41073
  cb(layer);
41072
41074
  }
41073
41075
  }