@perceptimagery/dita-configurator-staging 0.1.7400 → 0.1.7410

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -111,7 +111,7 @@ var __publicField = (obj, key, value) => {
111
111
  host: "https://api.sprie.io"
112
112
  };
113
113
  const config = Object.freeze(Config$1);
114
- const version$1 = "0.1.7400";
114
+ const version$1 = "0.1.7410";
115
115
  function modifyLensArr(arr, element) {
116
116
  const index = arr.findIndex((e) => e["sku"] === element["sku"]);
117
117
  if (index !== -1) {
@@ -41489,6 +41489,7 @@ bool bvhIntersectFirstHit(
41489
41489
  );
41490
41490
  rgbeLoader.load(
41491
41491
  "https://sprie-jarvis-public.s3.eu-west-2.amazonaws.com/environment_gemstones.hdr",
41492
+ // "/environment_gemstones.hdr",
41492
41493
  (reflectionMap) => {
41493
41494
  reflectionMap.mapping = EquirectangularReflectionMapping;
41494
41495
  diamondMaterial.uniforms.envMap.value = reflectionMap;
@@ -41689,7 +41690,7 @@ bool bvhIntersectFirstHit(
41689
41690
  lensMaterial.needsUpdate = true;
41690
41691
  }
41691
41692
  }
41692
- if (node.material && node.name === "Diamonds") {
41693
+ if (node.material && node.name.toLowerCase().includes("diamond")) {
41693
41694
  diamondMaterial.uniforms.bvh.value = new MeshBVHUniformStruct();
41694
41695
  diamondMaterial.uniforms.bvh.value.updateFrom(
41695
41696
  new MeshBVH(node.geometry.clone().toNonIndexed(), { strategy: SAH })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@perceptimagery/dita-configurator-staging",
3
- "version": "0.1.7400",
3
+ "version": "0.1.7410",
4
4
  "author": "Rohan Satpute <rohan@perceptimagery.com>",
5
5
  "license": "UNLICENSED",
6
6
  "main": "dist/index.js",