@xeokit/xeokit-sdk 2.6.89 → 2.6.90
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/dist/xeokit-sdk.cjs.js +4 -3
- package/dist/xeokit-sdk.es.js +4 -3
- package/dist/xeokit-sdk.es5.js +5 -4
- package/dist/xeokit-sdk.min.cjs.js +4 -4
- package/dist/xeokit-sdk.min.es.js +4 -4
- package/dist/xeokit-sdk.min.es5.js +4 -4
- package/package.json +1 -1
- package/src/viewer/scene/webgl/Renderer.js +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xeokit/xeokit-sdk",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.90",
|
|
4
4
|
"description": "3D BIM IFC Viewer SDK for AEC engineering applications. Open Source JavaScript Toolkit based on pure WebGL for top performance, real-world coordinates and full double precision",
|
|
5
5
|
"module": "./dist/xeokit-sdk.es.js",
|
|
6
6
|
"main": "./dist/xeokit-sdk.cjs.js",
|
|
@@ -724,6 +724,7 @@ const Renderer = function (scene, options) {
|
|
|
724
724
|
|
|
725
725
|
if (normalFillTransparentBinLen > 0) {
|
|
726
726
|
const eye = frameCtx.pickOrigin || scene.camera.eye;
|
|
727
|
+
normalFillTransparentBin.length = normalFillTransparentBinLen; // normalFillTransparentBin reused by renderDrawables calls, so needs to be truncated if necessary
|
|
727
728
|
const byDist = normalFillTransparentBin.map(d => ({ drawable: d, distSq: math.distVec3(d.origin || vec3_0, eye) }));
|
|
728
729
|
byDist.sort((a, b) => b.distSq - a.distSq);
|
|
729
730
|
for (i = 0; i < normalFillTransparentBinLen; i++) {
|