@xeokit/xeokit-sdk 2.3.0-beta-28 → 2.3.0-beta-31

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.
@@ -12283,13 +12283,7 @@ class Canvas extends Component {
12283
12283
  boundary[2] = newWidth;
12284
12284
  boundary[3] = newHeight;
12285
12285
 
12286
- /**
12287
- * Fired whenever this Canvas's {@link Canvas/boundary} property changes.
12288
- *
12289
- * @event boundary
12290
- * @param value The property's new value
12291
- */
12292
- if (!newResolutionScale || newCanvasSize) {
12286
+ if (!newResolutionScale) {
12293
12287
  this.fire("boundary", boundary);
12294
12288
  }
12295
12289
 
@@ -63548,8 +63542,8 @@ class TrianglesInstancingOcclusionRenderer {
63548
63542
  src.push("in float isPerspective;");
63549
63543
  }
63550
63544
  if (clipping) {
63551
- src.push("in vec4 vWorldPosition;");
63552
- src.push("in vec4 vFlags2;");
63545
+ src.push("out vec4 vWorldPosition;");
63546
+ src.push("out vec4 vFlags2;");
63553
63547
  }
63554
63548
  src.push("void main(void) {");
63555
63549
 
@@ -63601,8 +63595,8 @@ class TrianglesInstancingOcclusionRenderer {
63601
63595
  src.push("out float vFragDepth;");
63602
63596
  }
63603
63597
  if (clipping) {
63604
- src.push("out vec4 vWorldPosition;");
63605
- src.push("out vec4 vFlags2;");
63598
+ src.push("in vec4 vWorldPosition;");
63599
+ src.push("in vec4 vFlags2;");
63606
63600
  for (let i = 0; i < sectionPlanesState.sectionPlanes.length; i++) {
63607
63601
  src.push("uniform bool sectionPlaneActive" + i + ";");
63608
63602
  src.push("uniform vec3 sectionPlanePos" + i + ";");
@@ -95493,11 +95487,13 @@ function loadNode(ctx, node, matrix) {
95493
95487
  }
95494
95488
  if (createEntity) {
95495
95489
  sceneModel.createEntity(utils.apply(createEntity, {
95496
- meshIds: meshIds
95490
+ meshIds: meshIds,
95491
+ isObject: true
95497
95492
  }));
95498
95493
  } else {
95499
95494
  sceneModel.createEntity({
95500
- meshIds: meshIds
95495
+ meshIds: meshIds,
95496
+ isObject: true
95501
95497
  });
95502
95498
  }
95503
95499
  }
@@ -12279,13 +12279,7 @@ class Canvas extends Component {
12279
12279
  boundary[2] = newWidth;
12280
12280
  boundary[3] = newHeight;
12281
12281
 
12282
- /**
12283
- * Fired whenever this Canvas's {@link Canvas/boundary} property changes.
12284
- *
12285
- * @event boundary
12286
- * @param value The property's new value
12287
- */
12288
- if (!newResolutionScale || newCanvasSize) {
12282
+ if (!newResolutionScale) {
12289
12283
  this.fire("boundary", boundary);
12290
12284
  }
12291
12285
 
@@ -63544,8 +63538,8 @@ class TrianglesInstancingOcclusionRenderer {
63544
63538
  src.push("in float isPerspective;");
63545
63539
  }
63546
63540
  if (clipping) {
63547
- src.push("in vec4 vWorldPosition;");
63548
- src.push("in vec4 vFlags2;");
63541
+ src.push("out vec4 vWorldPosition;");
63542
+ src.push("out vec4 vFlags2;");
63549
63543
  }
63550
63544
  src.push("void main(void) {");
63551
63545
 
@@ -63597,8 +63591,8 @@ class TrianglesInstancingOcclusionRenderer {
63597
63591
  src.push("out float vFragDepth;");
63598
63592
  }
63599
63593
  if (clipping) {
63600
- src.push("out vec4 vWorldPosition;");
63601
- src.push("out vec4 vFlags2;");
63594
+ src.push("in vec4 vWorldPosition;");
63595
+ src.push("in vec4 vFlags2;");
63602
63596
  for (let i = 0; i < sectionPlanesState.sectionPlanes.length; i++) {
63603
63597
  src.push("uniform bool sectionPlaneActive" + i + ";");
63604
63598
  src.push("uniform vec3 sectionPlanePos" + i + ";");
@@ -95489,11 +95483,13 @@ function loadNode(ctx, node, matrix) {
95489
95483
  }
95490
95484
  if (createEntity) {
95491
95485
  sceneModel.createEntity(utils.apply(createEntity, {
95492
- meshIds: meshIds
95486
+ meshIds: meshIds,
95487
+ isObject: true
95493
95488
  }));
95494
95489
  } else {
95495
95490
  sceneModel.createEntity({
95496
- meshIds: meshIds
95491
+ meshIds: meshIds,
95492
+ isObject: true
95497
95493
  });
95498
95494
  }
95499
95495
  }