@xeokit/xeokit-sdk 2.2.1-beta.3 → 2.2.1-beta.4

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.
@@ -13611,7 +13611,7 @@ class OcclusionLayer {
13611
13611
 
13612
13612
  const MARKER_COLOR = math.vec3([1.0, 0.0, 0.0]);
13613
13613
  const POINT_SIZE = 20;
13614
- const MARKER_SPRITE_CLIPZ_OFFSET = -0.01; // Amount that we offset sprite clip Z coords to raise them from surfaces
13614
+ const MARKER_SPRITE_CLIPZ_OFFSET = -0.001; // Amount that we offset sprite clip Z coords to raise them from surfaces
13615
13615
 
13616
13616
  const tempVec3a$$ = math.vec3();
13617
13617
 
@@ -13830,7 +13830,7 @@ class OcclusionTester {
13830
13830
  src.push("clipPos.z *= clipPos.w;");
13831
13831
  }
13832
13832
  } else {
13833
- src.push("clipPos.z -= " + MARKER_SPRITE_CLIPZ_OFFSET + ";");
13833
+ src.push("clipPos.z += " + MARKER_SPRITE_CLIPZ_OFFSET + ";");
13834
13834
  }
13835
13835
  src.push(" gl_Position = clipPos;");
13836
13836
  src.push("}");
@@ -13607,7 +13607,7 @@ class OcclusionLayer {
13607
13607
 
13608
13608
  const MARKER_COLOR = math.vec3([1.0, 0.0, 0.0]);
13609
13609
  const POINT_SIZE = 20;
13610
- const MARKER_SPRITE_CLIPZ_OFFSET = -0.01; // Amount that we offset sprite clip Z coords to raise them from surfaces
13610
+ const MARKER_SPRITE_CLIPZ_OFFSET = -0.001; // Amount that we offset sprite clip Z coords to raise them from surfaces
13611
13611
 
13612
13612
  const tempVec3a$$ = math.vec3();
13613
13613
 
@@ -13826,7 +13826,7 @@ class OcclusionTester {
13826
13826
  src.push("clipPos.z *= clipPos.w;");
13827
13827
  }
13828
13828
  } else {
13829
- src.push("clipPos.z -= " + MARKER_SPRITE_CLIPZ_OFFSET + ";");
13829
+ src.push("clipPos.z += " + MARKER_SPRITE_CLIPZ_OFFSET + ";");
13830
13830
  }
13831
13831
  src.push(" gl_Position = clipPos;");
13832
13832
  src.push("}");