@babylonjs/core 8.39.2 → 8.40.0

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 (30) hide show
  1. package/Debug/debugLayer.d.ts +1 -1
  2. package/Debug/debugLayer.js.map +1 -1
  3. package/Engines/abstractEngine.js +2 -2
  4. package/Engines/abstractEngine.js.map +1 -1
  5. package/Engines/thinEngine.js +1 -1
  6. package/Engines/thinEngine.js.map +1 -1
  7. package/Meshes/GaussianSplatting/gaussianSplattingMesh.js +1 -1
  8. package/Meshes/GaussianSplatting/gaussianSplattingMesh.js.map +1 -1
  9. package/Particles/Node/Blocks/Update/updateFlowMapBlock.d.ts +9 -1
  10. package/Particles/Node/Blocks/Update/updateFlowMapBlock.js +8 -0
  11. package/Particles/Node/Blocks/Update/updateFlowMapBlock.js.map +1 -1
  12. package/Particles/Node/Blocks/Update/updateNoiseBlock.d.ts +39 -0
  13. package/Particles/Node/Blocks/Update/updateNoiseBlock.js +102 -0
  14. package/Particles/Node/Blocks/Update/updateNoiseBlock.js.map +1 -0
  15. package/Particles/Node/Blocks/index.d.ts +1 -0
  16. package/Particles/Node/Blocks/index.js +1 -0
  17. package/Particles/Node/Blocks/index.js.map +1 -1
  18. package/Particles/Node/Blocks/particleSourceTextureBlock.d.ts +9 -5
  19. package/Particles/Node/Blocks/particleSourceTextureBlock.js +31 -13
  20. package/Particles/Node/Blocks/particleSourceTextureBlock.js.map +1 -1
  21. package/Particles/Node/nodeParticleSystemSet.helper.js +39 -21
  22. package/Particles/Node/nodeParticleSystemSet.helper.js.map +1 -1
  23. package/Particles/particle.d.ts +2 -2
  24. package/Particles/particle.js +4 -2
  25. package/Particles/particle.js.map +1 -1
  26. package/Particles/thinParticleSystem.d.ts +1 -1
  27. package/Particles/thinParticleSystem.function.js +2 -2
  28. package/Particles/thinParticleSystem.function.js.map +1 -1
  29. package/Particles/thinParticleSystem.js.map +1 -1
  30. package/package.json +1 -1
@@ -3746,7 +3746,7 @@ export class ThinEngine extends AbstractEngine {
3746
3746
  try {
3747
3747
  const tempcanvas = AbstractEngine._CreateCanvas(1, 1);
3748
3748
  const gl = tempcanvas.getContext("webgl") || tempcanvas.getContext("experimental-webgl");
3749
- this._IsSupported = gl != null && !!window.WebGLRenderingContext;
3749
+ this._IsSupported = gl != null && !!globalThis.WebGLRenderingContext;
3750
3750
  }
3751
3751
  catch (e) {
3752
3752
  this._IsSupported = false;