@xeokit/xeokit-sdk 2.4.2-beta-42 → 2.4.2-beta-44

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.
@@ -61340,9 +61340,6 @@ function getSnapBatchingRenderers(scene) {
61340
61340
  const tempMat4$1 = math.mat4();
61341
61341
  const tempMat4b = math.mat4();
61342
61342
  const tempVec4a$7 = math.vec4([0, 0, 0, 1]);
61343
- math.vec4([0, 0, 0, 1]);
61344
- math.vec4([0, 0, 0, 1]);
61345
- math.OBB3();
61346
61343
 
61347
61344
  const tempVec3a$o = math.vec3();
61348
61345
  const tempVec3b$k = math.vec3();
@@ -66391,11 +66388,8 @@ function getSnapInstancingRenderers(scene) {
66391
66388
  return instancingRenderers;
66392
66389
  }
66393
66390
 
66394
- const tempUint8Vec4$2 = new Uint8Array(4);
66395
66391
  const tempFloat32$2 = new Float32Array(1);
66396
66392
  const tempVec4a$6 = math.vec4([0, 0, 0, 1]);
66397
- math.vec4([0, 0, 0, 1]);
66398
- math.vec4([0, 0, 0, 1]);
66399
66393
  const tempVec3fa$2 = new Float32Array(3);
66400
66394
 
66401
66395
  const tempVec3a$l = math.vec3();
@@ -66931,12 +66925,12 @@ class TrianglesInstancingLayer {
66931
66925
  if (!this._finalized) {
66932
66926
  throw "Not finalized";
66933
66927
  }
66934
- tempUint8Vec4$2[0] = color[0];
66935
- tempUint8Vec4$2[1] = color[1];
66936
- tempUint8Vec4$2[2] = color[2];
66937
- tempUint8Vec4$2[3] = color[3];
66928
+ tempUint8Vec4[0] = color[0];
66929
+ tempUint8Vec4[1] = color[1];
66930
+ tempUint8Vec4[2] = color[2];
66931
+ tempUint8Vec4[3] = color[3];
66938
66932
  if (this._state.colorsBuf) {
66939
- this._state.colorsBuf.setData(tempUint8Vec4$2, portionId * 4);
66933
+ this._state.colorsBuf.setData(tempUint8Vec4, portionId * 4);
66940
66934
  }
66941
66935
  }
66942
66936
 
@@ -67900,11 +67894,6 @@ class LinesBatchingBuffer {
67900
67894
  }
67901
67895
  }
67902
67896
 
67903
- math.vec4([0, 0, 0, 1]);
67904
- math.vec4([0, 0, 0, 1]);
67905
- math.vec4([0, 0, 0, 1]);
67906
- math.OBB3();
67907
-
67908
67897
  /**
67909
67898
  * @private
67910
67899
  */
@@ -68920,13 +68909,9 @@ function getInstancingRenderers(scene) {
68920
68909
  return instancingRenderers;
68921
68910
  }
68922
68911
 
68923
- const tempUint8Vec4$1 = new Uint8Array(4);
68912
+ const tempUint8Vec4$2 = new Uint8Array(4);
68924
68913
  const tempFloat32$1 = new Float32Array(1);
68925
68914
 
68926
- math.vec4([0, 0, 0, 1]);
68927
- math.vec4([0, 0, 0, 1]);
68928
- math.vec4([0, 0, 0, 1]);
68929
-
68930
68915
  const tempVec3fa$1 = new Float32Array(3);
68931
68916
 
68932
68917
  const tempFloat32Vec4$1 = new Float32Array(4);
@@ -69308,11 +69293,11 @@ class LinesInstancingLayer {
69308
69293
  if (!this._finalized) {
69309
69294
  throw "Not finalized";
69310
69295
  }
69311
- tempUint8Vec4$1[0] = color[0];
69312
- tempUint8Vec4$1[1] = color[1];
69313
- tempUint8Vec4$1[2] = color[2];
69314
- tempUint8Vec4$1[3] = color[3];
69315
- this._state.colorsBuf.setData(tempUint8Vec4$1, portionId * 4, 4);
69296
+ tempUint8Vec4$2[0] = color[0];
69297
+ tempUint8Vec4$2[1] = color[1];
69298
+ tempUint8Vec4$2[2] = color[2];
69299
+ tempUint8Vec4$2[3] = color[3];
69300
+ this._state.colorsBuf.setData(tempUint8Vec4$2, portionId * 4, 4);
69316
69301
  }
69317
69302
 
69318
69303
  setTransparent(portionId, flags, transparent) {
@@ -70451,13 +70436,6 @@ class PointsBatchingBuffer {
70451
70436
  }
70452
70437
  }
70453
70438
 
70454
- math.vec4();
70455
- math.vec4();
70456
- math.vec4([0, 0, 0, 1]);
70457
- math.vec4([0, 0, 0, 1]);
70458
- math.vec4([0, 0, 0, 1]);
70459
- math.OBB3();
70460
-
70461
70439
  /**
70462
70440
  * @private
70463
70441
  */
@@ -72351,11 +72329,8 @@ function getPointsInstancingRenderers(scene) {
72351
72329
  return instancingRenderers;
72352
72330
  }
72353
72331
 
72354
- const tempUint8Vec4 = new Uint8Array(4);
72332
+ const tempUint8Vec4$1 = new Uint8Array(4);
72355
72333
  const tempFloat32 = new Float32Array(1);
72356
- math.vec4([0, 0, 0, 1]);
72357
- math.vec4([0, 0, 0, 1]);
72358
- math.vec4([0, 0, 0, 1]);
72359
72334
  const tempVec3fa = new Float32Array(3);
72360
72335
 
72361
72336
  const tempFloat32Vec4 = new Float32Array(4);
@@ -72736,10 +72711,10 @@ class PointsInstancingLayer {
72736
72711
  if (!this._finalized) {
72737
72712
  throw "Not finalized";
72738
72713
  }
72739
- tempUint8Vec4[0] = color[0];
72740
- tempUint8Vec4[1] = color[1];
72741
- tempUint8Vec4[2] = color[2];
72742
- this._state.colorsBuf.setData(tempUint8Vec4, portionId * 3);
72714
+ tempUint8Vec4$1[0] = color[0];
72715
+ tempUint8Vec4$1[1] = color[1];
72716
+ tempUint8Vec4$1[2] = color[2];
72717
+ this._state.colorsBuf.setData(tempUint8Vec4$1, portionId * 3);
72743
72718
  }
72744
72719
 
72745
72720
  setTransparent(portionId, flags, transparent) {
@@ -81173,15 +81148,10 @@ const INDICES_EDGE_INDICES_ALIGNEMENT_SIZE = 8;
81173
81148
  */
81174
81149
  const MAX_OBJECT_UPDATES_IN_FRAME_WITHOUT_BATCHED_UPDATE = 10;
81175
81150
 
81176
- math.vec4([0, 0, 0, 1]);
81177
- math.vec4([0, 0, 0, 1]);
81178
- math.vec4([0, 0, 0, 1]);
81179
81151
  const tempMat4a = new Float32Array(16);
81180
81152
  const tempUint8Array4 = new Uint8Array(4);
81181
81153
  const tempFloat32Array3 = new Float32Array(3);
81182
81154
 
81183
- math.AABB3();
81184
-
81185
81155
  let numLayers = 0;
81186
81156
 
81187
81157
  const DEFAULT_MATRIX$1 = math.identityMat4();
@@ -81353,16 +81323,6 @@ class TrianglesDataTextureLayer {
81353
81323
  //math.expandAABB3(portionAABB, subPortionAABB);
81354
81324
  subPortionIds.push(subPortionId);
81355
81325
  });
81356
- // const origin = this._state.origin;
81357
- // if (origin[0] !== 0 || origin[1] !== 0 || origin[2] !== 0) {
81358
- // portionAABB[0] += origin[0];
81359
- // portionAABB[1] += origin[1];
81360
- // portionAABB[2] += origin[2];
81361
- // portionAABB[3] += origin[0];
81362
- // portionAABB[4] += origin[1];
81363
- // portionAABB[5] += origin[2];
81364
- // }
81365
- // math.expandAABB3(this.aabb, portionAABB);
81366
81326
  const portionId = this._portionToSubPortionsMap.length;
81367
81327
  this._portionToSubPortionsMap.push(subPortionIds);
81368
81328
  this.model.numPortions++;
@@ -81460,10 +81420,6 @@ class TrianglesDataTextureLayer {
81460
81420
 
81461
81421
  dataTextureRamStats.numberOfGeometries++;
81462
81422
 
81463
- // const aabb = math.collapseAABB3();
81464
- // math.expandAABB3Points3(aabb, bucket.positionsCompressed);
81465
- // geometryCompressionUtils.decompressAABB(aabb, portionCfg.positionsDecodeMatrix);
81466
-
81467
81423
  const bucketGeometry = {
81468
81424
  vertexBase,
81469
81425
  numVertices,
@@ -81471,7 +81427,6 @@ class TrianglesDataTextureLayer {
81471
81427
  numEdges,
81472
81428
  indicesBase,
81473
81429
  edgeIndicesBase,
81474
- // aabb,
81475
81430
  obb: null // Lazy-created in _createSubPortion if needed
81476
81431
  };
81477
81432
 
@@ -81493,26 +81448,6 @@ class TrianglesDataTextureLayer {
81493
81448
  buffer.perObjectPositionsDecodeMatrices.push(portionCfg.positionsDecodeMatrix);
81494
81449
  buffer.perObjectInstancePositioningMatrices.push(meshMatrix || DEFAULT_MATRIX$1);
81495
81450
 
81496
- // if (meshMatrix) { // NB: SceneModel world matrix is used in shaders and SceneModelMesh.aabb
81497
- //
81498
- // if (!bucketGeometry.obb) {
81499
- // bucketGeometry.obb = math.AABB3ToOBB3(bucketGeometry.aabb);
81500
- // }
81501
- // const geometryOBB = bucketGeometry.obb;
81502
- // for (let i = 0, len = geometryOBB.length; i < len; i += 4) {
81503
- // tempVec4a[0] = geometryOBB[i + 0];
81504
- // tempVec4a[1] = geometryOBB[i + 1];
81505
- // tempVec4a[2] = geometryOBB[i + 2];
81506
- // tempVec4a[3] = 1.0;
81507
- // if (meshMatrix) {
81508
- // math.transformPoint4(meshMatrix, tempVec4a, tempVec4b);
81509
- // }
81510
- // math.expandAABB3Point3(subPortionAABB, tempVec4b);
81511
- // }
81512
- // } else {
81513
- // math.expandAABB3(subPortionAABB, bucketGeometry.aabb);
81514
- // }
81515
-
81516
81451
  buffer.perObjectSolid.push(!!portionCfg.solid);
81517
81452
 
81518
81453
  if (colors) {
@@ -81641,13 +81576,6 @@ class TrianglesDataTextureLayer {
81641
81576
  gl,
81642
81577
  buffer.perObjectPositionsDecodeMatrices);
81643
81578
 
81644
- // const positionsCompressed = new Uint16Array(buffer.lenPositionsCompressed);
81645
- // for (let i = 0, j = 0, len = buffer.positionsCompressed.length; i < len; i++) {
81646
- // const pc = buffer.positionsCompressed[i];
81647
- // positionsCompressed.set(pc, j);
81648
- // j += pc.length;
81649
- // }
81650
-
81651
81579
  textureState.texturePerVertexIdCoordinates = this._dataTextureGenerator.generateTextureForPositions(
81652
81580
  gl,
81653
81581
  buffer.positionsCompressed,
@@ -81896,7 +81824,6 @@ class TrianglesDataTextureLayer {
81896
81824
  * flags/flags2 set since the previous invocation of `_beginDeferredFlags`.
81897
81825
  */
81898
81826
  _uploadDeferredFlags() {
81899
- console.info("_uploadDeferredFlags");
81900
81827
  this._deferredSetFlagsActive = false;
81901
81828
  if (!this._deferredSetFlagsDirty) {
81902
81829
  return;
@@ -82090,7 +82017,7 @@ class TrianglesDataTextureLayer {
82090
82017
 
82091
82018
  // Pick
82092
82019
 
82093
- let f3 = (visible && pickable) ? RENDER_PASSES.PICK : RENDER_PASSES.NOT_RENDERED;
82020
+ let f3 = (visible && (!culled) && pickable) ? RENDER_PASSES.PICK : RENDER_PASSES.NOT_RENDERED;
82094
82021
  const textureState = this._dataTextureState;
82095
82022
  const gl = this.model.scene.canvas.gl;
82096
82023
  tempUint8Array4 [0] = f0;
@@ -82906,7 +82833,6 @@ class SceneModelTransform {
82906
82833
  }
82907
82834
 
82908
82835
  const tempVec3a$8 = math.vec3();
82909
- math.mat4();
82910
82836
 
82911
82837
  const tempOBB3 = math.OBB3();
82912
82838
 
@@ -61336,9 +61336,6 @@ function getSnapBatchingRenderers(scene) {
61336
61336
  const tempMat4$1 = math.mat4();
61337
61337
  const tempMat4b = math.mat4();
61338
61338
  const tempVec4a$7 = math.vec4([0, 0, 0, 1]);
61339
- math.vec4([0, 0, 0, 1]);
61340
- math.vec4([0, 0, 0, 1]);
61341
- math.OBB3();
61342
61339
 
61343
61340
  const tempVec3a$o = math.vec3();
61344
61341
  const tempVec3b$k = math.vec3();
@@ -66387,11 +66384,8 @@ function getSnapInstancingRenderers(scene) {
66387
66384
  return instancingRenderers;
66388
66385
  }
66389
66386
 
66390
- const tempUint8Vec4$2 = new Uint8Array(4);
66391
66387
  const tempFloat32$2 = new Float32Array(1);
66392
66388
  const tempVec4a$6 = math.vec4([0, 0, 0, 1]);
66393
- math.vec4([0, 0, 0, 1]);
66394
- math.vec4([0, 0, 0, 1]);
66395
66389
  const tempVec3fa$2 = new Float32Array(3);
66396
66390
 
66397
66391
  const tempVec3a$l = math.vec3();
@@ -66927,12 +66921,12 @@ class TrianglesInstancingLayer {
66927
66921
  if (!this._finalized) {
66928
66922
  throw "Not finalized";
66929
66923
  }
66930
- tempUint8Vec4$2[0] = color[0];
66931
- tempUint8Vec4$2[1] = color[1];
66932
- tempUint8Vec4$2[2] = color[2];
66933
- tempUint8Vec4$2[3] = color[3];
66924
+ tempUint8Vec4[0] = color[0];
66925
+ tempUint8Vec4[1] = color[1];
66926
+ tempUint8Vec4[2] = color[2];
66927
+ tempUint8Vec4[3] = color[3];
66934
66928
  if (this._state.colorsBuf) {
66935
- this._state.colorsBuf.setData(tempUint8Vec4$2, portionId * 4);
66929
+ this._state.colorsBuf.setData(tempUint8Vec4, portionId * 4);
66936
66930
  }
66937
66931
  }
66938
66932
 
@@ -67896,11 +67890,6 @@ class LinesBatchingBuffer {
67896
67890
  }
67897
67891
  }
67898
67892
 
67899
- math.vec4([0, 0, 0, 1]);
67900
- math.vec4([0, 0, 0, 1]);
67901
- math.vec4([0, 0, 0, 1]);
67902
- math.OBB3();
67903
-
67904
67893
  /**
67905
67894
  * @private
67906
67895
  */
@@ -68916,13 +68905,9 @@ function getInstancingRenderers(scene) {
68916
68905
  return instancingRenderers;
68917
68906
  }
68918
68907
 
68919
- const tempUint8Vec4$1 = new Uint8Array(4);
68908
+ const tempUint8Vec4$2 = new Uint8Array(4);
68920
68909
  const tempFloat32$1 = new Float32Array(1);
68921
68910
 
68922
- math.vec4([0, 0, 0, 1]);
68923
- math.vec4([0, 0, 0, 1]);
68924
- math.vec4([0, 0, 0, 1]);
68925
-
68926
68911
  const tempVec3fa$1 = new Float32Array(3);
68927
68912
 
68928
68913
  const tempFloat32Vec4$1 = new Float32Array(4);
@@ -69304,11 +69289,11 @@ class LinesInstancingLayer {
69304
69289
  if (!this._finalized) {
69305
69290
  throw "Not finalized";
69306
69291
  }
69307
- tempUint8Vec4$1[0] = color[0];
69308
- tempUint8Vec4$1[1] = color[1];
69309
- tempUint8Vec4$1[2] = color[2];
69310
- tempUint8Vec4$1[3] = color[3];
69311
- this._state.colorsBuf.setData(tempUint8Vec4$1, portionId * 4, 4);
69292
+ tempUint8Vec4$2[0] = color[0];
69293
+ tempUint8Vec4$2[1] = color[1];
69294
+ tempUint8Vec4$2[2] = color[2];
69295
+ tempUint8Vec4$2[3] = color[3];
69296
+ this._state.colorsBuf.setData(tempUint8Vec4$2, portionId * 4, 4);
69312
69297
  }
69313
69298
 
69314
69299
  setTransparent(portionId, flags, transparent) {
@@ -70447,13 +70432,6 @@ class PointsBatchingBuffer {
70447
70432
  }
70448
70433
  }
70449
70434
 
70450
- math.vec4();
70451
- math.vec4();
70452
- math.vec4([0, 0, 0, 1]);
70453
- math.vec4([0, 0, 0, 1]);
70454
- math.vec4([0, 0, 0, 1]);
70455
- math.OBB3();
70456
-
70457
70435
  /**
70458
70436
  * @private
70459
70437
  */
@@ -72347,11 +72325,8 @@ function getPointsInstancingRenderers(scene) {
72347
72325
  return instancingRenderers;
72348
72326
  }
72349
72327
 
72350
- const tempUint8Vec4 = new Uint8Array(4);
72328
+ const tempUint8Vec4$1 = new Uint8Array(4);
72351
72329
  const tempFloat32 = new Float32Array(1);
72352
- math.vec4([0, 0, 0, 1]);
72353
- math.vec4([0, 0, 0, 1]);
72354
- math.vec4([0, 0, 0, 1]);
72355
72330
  const tempVec3fa = new Float32Array(3);
72356
72331
 
72357
72332
  const tempFloat32Vec4 = new Float32Array(4);
@@ -72732,10 +72707,10 @@ class PointsInstancingLayer {
72732
72707
  if (!this._finalized) {
72733
72708
  throw "Not finalized";
72734
72709
  }
72735
- tempUint8Vec4[0] = color[0];
72736
- tempUint8Vec4[1] = color[1];
72737
- tempUint8Vec4[2] = color[2];
72738
- this._state.colorsBuf.setData(tempUint8Vec4, portionId * 3);
72710
+ tempUint8Vec4$1[0] = color[0];
72711
+ tempUint8Vec4$1[1] = color[1];
72712
+ tempUint8Vec4$1[2] = color[2];
72713
+ this._state.colorsBuf.setData(tempUint8Vec4$1, portionId * 3);
72739
72714
  }
72740
72715
 
72741
72716
  setTransparent(portionId, flags, transparent) {
@@ -81169,15 +81144,10 @@ const INDICES_EDGE_INDICES_ALIGNEMENT_SIZE = 8;
81169
81144
  */
81170
81145
  const MAX_OBJECT_UPDATES_IN_FRAME_WITHOUT_BATCHED_UPDATE = 10;
81171
81146
 
81172
- math.vec4([0, 0, 0, 1]);
81173
- math.vec4([0, 0, 0, 1]);
81174
- math.vec4([0, 0, 0, 1]);
81175
81147
  const tempMat4a = new Float32Array(16);
81176
81148
  const tempUint8Array4 = new Uint8Array(4);
81177
81149
  const tempFloat32Array3 = new Float32Array(3);
81178
81150
 
81179
- math.AABB3();
81180
-
81181
81151
  let numLayers = 0;
81182
81152
 
81183
81153
  const DEFAULT_MATRIX$1 = math.identityMat4();
@@ -81349,16 +81319,6 @@ class TrianglesDataTextureLayer {
81349
81319
  //math.expandAABB3(portionAABB, subPortionAABB);
81350
81320
  subPortionIds.push(subPortionId);
81351
81321
  });
81352
- // const origin = this._state.origin;
81353
- // if (origin[0] !== 0 || origin[1] !== 0 || origin[2] !== 0) {
81354
- // portionAABB[0] += origin[0];
81355
- // portionAABB[1] += origin[1];
81356
- // portionAABB[2] += origin[2];
81357
- // portionAABB[3] += origin[0];
81358
- // portionAABB[4] += origin[1];
81359
- // portionAABB[5] += origin[2];
81360
- // }
81361
- // math.expandAABB3(this.aabb, portionAABB);
81362
81322
  const portionId = this._portionToSubPortionsMap.length;
81363
81323
  this._portionToSubPortionsMap.push(subPortionIds);
81364
81324
  this.model.numPortions++;
@@ -81456,10 +81416,6 @@ class TrianglesDataTextureLayer {
81456
81416
 
81457
81417
  dataTextureRamStats.numberOfGeometries++;
81458
81418
 
81459
- // const aabb = math.collapseAABB3();
81460
- // math.expandAABB3Points3(aabb, bucket.positionsCompressed);
81461
- // geometryCompressionUtils.decompressAABB(aabb, portionCfg.positionsDecodeMatrix);
81462
-
81463
81419
  const bucketGeometry = {
81464
81420
  vertexBase,
81465
81421
  numVertices,
@@ -81467,7 +81423,6 @@ class TrianglesDataTextureLayer {
81467
81423
  numEdges,
81468
81424
  indicesBase,
81469
81425
  edgeIndicesBase,
81470
- // aabb,
81471
81426
  obb: null // Lazy-created in _createSubPortion if needed
81472
81427
  };
81473
81428
 
@@ -81489,26 +81444,6 @@ class TrianglesDataTextureLayer {
81489
81444
  buffer.perObjectPositionsDecodeMatrices.push(portionCfg.positionsDecodeMatrix);
81490
81445
  buffer.perObjectInstancePositioningMatrices.push(meshMatrix || DEFAULT_MATRIX$1);
81491
81446
 
81492
- // if (meshMatrix) { // NB: SceneModel world matrix is used in shaders and SceneModelMesh.aabb
81493
- //
81494
- // if (!bucketGeometry.obb) {
81495
- // bucketGeometry.obb = math.AABB3ToOBB3(bucketGeometry.aabb);
81496
- // }
81497
- // const geometryOBB = bucketGeometry.obb;
81498
- // for (let i = 0, len = geometryOBB.length; i < len; i += 4) {
81499
- // tempVec4a[0] = geometryOBB[i + 0];
81500
- // tempVec4a[1] = geometryOBB[i + 1];
81501
- // tempVec4a[2] = geometryOBB[i + 2];
81502
- // tempVec4a[3] = 1.0;
81503
- // if (meshMatrix) {
81504
- // math.transformPoint4(meshMatrix, tempVec4a, tempVec4b);
81505
- // }
81506
- // math.expandAABB3Point3(subPortionAABB, tempVec4b);
81507
- // }
81508
- // } else {
81509
- // math.expandAABB3(subPortionAABB, bucketGeometry.aabb);
81510
- // }
81511
-
81512
81447
  buffer.perObjectSolid.push(!!portionCfg.solid);
81513
81448
 
81514
81449
  if (colors) {
@@ -81637,13 +81572,6 @@ class TrianglesDataTextureLayer {
81637
81572
  gl,
81638
81573
  buffer.perObjectPositionsDecodeMatrices);
81639
81574
 
81640
- // const positionsCompressed = new Uint16Array(buffer.lenPositionsCompressed);
81641
- // for (let i = 0, j = 0, len = buffer.positionsCompressed.length; i < len; i++) {
81642
- // const pc = buffer.positionsCompressed[i];
81643
- // positionsCompressed.set(pc, j);
81644
- // j += pc.length;
81645
- // }
81646
-
81647
81575
  textureState.texturePerVertexIdCoordinates = this._dataTextureGenerator.generateTextureForPositions(
81648
81576
  gl,
81649
81577
  buffer.positionsCompressed,
@@ -81892,7 +81820,6 @@ class TrianglesDataTextureLayer {
81892
81820
  * flags/flags2 set since the previous invocation of `_beginDeferredFlags`.
81893
81821
  */
81894
81822
  _uploadDeferredFlags() {
81895
- console.info("_uploadDeferredFlags");
81896
81823
  this._deferredSetFlagsActive = false;
81897
81824
  if (!this._deferredSetFlagsDirty) {
81898
81825
  return;
@@ -82086,7 +82013,7 @@ class TrianglesDataTextureLayer {
82086
82013
 
82087
82014
  // Pick
82088
82015
 
82089
- let f3 = (visible && pickable) ? RENDER_PASSES.PICK : RENDER_PASSES.NOT_RENDERED;
82016
+ let f3 = (visible && (!culled) && pickable) ? RENDER_PASSES.PICK : RENDER_PASSES.NOT_RENDERED;
82090
82017
  const textureState = this._dataTextureState;
82091
82018
  const gl = this.model.scene.canvas.gl;
82092
82019
  tempUint8Array4 [0] = f0;
@@ -82902,7 +82829,6 @@ class SceneModelTransform {
82902
82829
  }
82903
82830
 
82904
82831
  const tempVec3a$8 = math.vec3();
82905
- math.mat4();
82906
82832
 
82907
82833
  const tempOBB3 = math.OBB3();
82908
82834