@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 +5 -0
- package/dist/xeokit-sdk.cjs.js +7 -5
- package/dist/xeokit-sdk.es.js +7 -5
- package/dist/xeokit-sdk.es5.js +512 -512
- package/dist/xeokit-sdk.min.cjs.js +5 -5
- package/dist/xeokit-sdk.min.es.js +5 -5
- package/dist/xeokit-sdk.min.es5.js +5 -5
- package/package.json +1 -1
- package/src/viewer/scene/model/SceneModel.js +3 -1
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
|
|
package/dist/xeokit-sdk.cjs.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* xeokit-sdk v2.6.
|
|
3
|
-
* Commit:
|
|
4
|
-
* Built: 2026-
|
|
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.
|
|
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
|
-
|
|
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
|
}
|
package/dist/xeokit-sdk.es.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* xeokit-sdk v2.6.
|
|
3
|
-
* Commit:
|
|
4
|
-
* Built: 2026-
|
|
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.
|
|
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
|
-
|
|
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
|
}
|