@babylonjs/core 6.29.2 → 6.31.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 (91) hide show
  1. package/Cameras/camera.js +1 -1
  2. package/Cameras/camera.js.map +1 -1
  3. package/Culling/ray.js +24 -24
  4. package/Culling/ray.js.map +1 -1
  5. package/Debug/skeletonViewer.js +2 -2
  6. package/Debug/skeletonViewer.js.map +1 -1
  7. package/Engines/Extensions/engine.views.d.ts +8 -5
  8. package/Engines/Extensions/engine.views.js +14 -8
  9. package/Engines/Extensions/engine.views.js.map +1 -1
  10. package/Engines/WebGPU/Extensions/engine.multiRender.js +6 -3
  11. package/Engines/WebGPU/Extensions/engine.multiRender.js.map +1 -1
  12. package/Engines/engine.d.ts +16 -1
  13. package/Engines/engine.js +1 -1
  14. package/Engines/engine.js.map +1 -1
  15. package/Engines/thinEngine.js +2 -2
  16. package/Engines/thinEngine.js.map +1 -1
  17. package/Gizmos/axisDragGizmo.d.ts +4 -2
  18. package/Gizmos/axisDragGizmo.js +18 -6
  19. package/Gizmos/axisDragGizmo.js.map +1 -1
  20. package/Gizmos/axisScaleGizmo.d.ts +2 -2
  21. package/Gizmos/axisScaleGizmo.js +1 -1
  22. package/Gizmos/axisScaleGizmo.js.map +1 -1
  23. package/Gizmos/planeDragGizmo.d.ts +4 -4
  24. package/Gizmos/planeDragGizmo.js +1 -1
  25. package/Gizmos/planeDragGizmo.js.map +1 -1
  26. package/Gizmos/planeRotationGizmo.d.ts +13 -7
  27. package/Gizmos/planeRotationGizmo.js +26 -10
  28. package/Gizmos/planeRotationGizmo.js.map +1 -1
  29. package/Materials/Node/Blocks/Teleport/teleportInBlock.d.ts +6 -0
  30. package/Materials/Node/Blocks/Teleport/teleportInBlock.js +22 -0
  31. package/Materials/Node/Blocks/Teleport/teleportInBlock.js.map +1 -1
  32. package/Materials/Textures/Procedurals/proceduralTexture.d.ts +1 -1
  33. package/Materials/Textures/Procedurals/proceduralTexture.js +1 -1
  34. package/Materials/Textures/Procedurals/proceduralTexture.js.map +1 -1
  35. package/Materials/Textures/multiRenderTarget.d.ts +14 -10
  36. package/Materials/Textures/multiRenderTarget.js +7 -5
  37. package/Materials/Textures/multiRenderTarget.js.map +1 -1
  38. package/Materials/imageProcessingConfiguration.d.ts +2 -2
  39. package/Materials/imageProcessingConfiguration.js +2 -2
  40. package/Materials/imageProcessingConfiguration.js.map +1 -1
  41. package/Maths/math.vector.d.ts +5 -5
  42. package/Maths/math.vector.js +5 -4
  43. package/Maths/math.vector.js.map +1 -1
  44. package/Meshes/Builders/linesBuilder.js +4 -2
  45. package/Meshes/Builders/linesBuilder.js.map +1 -1
  46. package/Meshes/GreasedLine/greasedLineBaseMesh.d.ts +1 -1
  47. package/Meshes/GreasedLine/greasedLineBaseMesh.js +1 -1
  48. package/Meshes/GreasedLine/greasedLineBaseMesh.js.map +1 -1
  49. package/Meshes/Node/nodeGeometry.js +3 -1
  50. package/Meshes/Node/nodeGeometry.js.map +1 -1
  51. package/Meshes/groundMesh.js +1 -1
  52. package/Meshes/groundMesh.js.map +1 -1
  53. package/Physics/physicsHelper.d.ts +1 -1
  54. package/Physics/physicsHelper.js +1 -1
  55. package/Physics/physicsHelper.js.map +1 -1
  56. package/PostProcesses/RenderPipeline/Pipelines/ssrRenderingPipeline.d.ts +1 -1
  57. package/PostProcesses/RenderPipeline/Pipelines/ssrRenderingPipeline.js +1 -1
  58. package/PostProcesses/RenderPipeline/Pipelines/ssrRenderingPipeline.js.map +1 -1
  59. package/PostProcesses/bloomEffect.d.ts +1 -1
  60. package/PostProcesses/bloomEffect.js +1 -1
  61. package/PostProcesses/bloomEffect.js.map +1 -1
  62. package/PostProcesses/postProcess.d.ts +1 -1
  63. package/PostProcesses/postProcess.js +1 -1
  64. package/PostProcesses/postProcess.js.map +1 -1
  65. package/Rendering/depthPeelingRenderer.d.ts +5 -0
  66. package/Rendering/depthPeelingRenderer.js +33 -9
  67. package/Rendering/depthPeelingRenderer.js.map +1 -1
  68. package/Rendering/depthRenderer.js +9 -0
  69. package/Rendering/depthRenderer.js.map +1 -1
  70. package/Shaders/depth.vertex.d.ts +2 -0
  71. package/Shaders/depth.vertex.js +4 -0
  72. package/Shaders/depth.vertex.js.map +1 -1
  73. package/XR/features/WebXRAbstractFeature.d.ts +10 -1
  74. package/XR/features/WebXRAbstractFeature.js +13 -0
  75. package/XR/features/WebXRAbstractFeature.js.map +1 -1
  76. package/XR/features/WebXRLightEstimation.d.ts +5 -0
  77. package/XR/features/WebXRLightEstimation.js +14 -2
  78. package/XR/features/WebXRLightEstimation.js.map +1 -1
  79. package/XR/features/WebXRRawCameraAccess.d.ts +81 -0
  80. package/XR/features/WebXRRawCameraAccess.js +169 -0
  81. package/XR/features/WebXRRawCameraAccess.js.map +1 -0
  82. package/XR/features/index.d.ts +1 -0
  83. package/XR/features/index.js +1 -0
  84. package/XR/features/index.js.map +1 -1
  85. package/XR/webXRFeaturesManager.d.ts +13 -0
  86. package/XR/webXRFeaturesManager.js +4 -0
  87. package/XR/webXRFeaturesManager.js.map +1 -1
  88. package/package.json +1 -1
  89. package/scene.d.ts +1 -1
  90. package/scene.js +11 -6
  91. package/scene.js.map +1 -1
@@ -1355,7 +1355,7 @@ export class Vector3 {
1355
1355
  * Due to float precision, scale of a mesh could be uniform but float values are off by a small fraction
1356
1356
  * Check if is non uniform within a certain amount of decimal places to account for this
1357
1357
  * @param epsilon the amount the values can differ
1358
- * @returns if the the vector is non uniform to a certain number of decimal places
1358
+ * @returns if the vector is non uniform to a certain number of decimal places
1359
1359
  */
1360
1360
  isNonUniformWithinEpsilon(epsilon) {
1361
1361
  const absX = Math.abs(this._x);
@@ -3762,7 +3762,7 @@ export class Quaternion {
3762
3762
  return result;
3763
3763
  }
3764
3764
  /**
3765
- * Sets the given "result" as the the multiplication result of the current one with the given one "q1"
3765
+ * Sets the given "result" as the multiplication result of the current one with the given one "q1"
3766
3766
  * Example Playground https://playground.babylonjs.com/#L49EJ7#45
3767
3767
  * @param q1 defines the second operand
3768
3768
  * @param result defines the target quaternion
@@ -5864,7 +5864,7 @@ export class Matrix {
5864
5864
  }
5865
5865
  /**
5866
5866
  * Builds a new matrix whose values are computed by:
5867
- * * decomposing the the "startValue" and "endValue" matrices into their respective scale, rotation and translation matrices
5867
+ * * decomposing the "startValue" and "endValue" matrices into their respective scale, rotation and translation matrices
5868
5868
  * * interpolating for "gradient" (float) the values between each of these decomposed matrices between the start and the end
5869
5869
  * * recomposing a new matrix from these 3 interpolated scale, rotation and translation matrices
5870
5870
  * Example Playground - https://playground.babylonjs.com/#AV9X17#22
@@ -5881,7 +5881,7 @@ export class Matrix {
5881
5881
  }
5882
5882
  /**
5883
5883
  * Update a matrix to values which are computed by:
5884
- * * decomposing the the "startValue" and "endValue" matrices into their respective scale, rotation and translation matrices
5884
+ * * decomposing the "startValue" and "endValue" matrices into their respective scale, rotation and translation matrices
5885
5885
  * * interpolating for "gradient" (float) the values between each of these decomposed matrices between the start and the end
5886
5886
  * * recomposing a new matrix from these 3 interpolated scale, rotation and translation matrices
5887
5887
  * Example Playground - https://playground.babylonjs.com/#AV9X17#23
@@ -5960,6 +5960,7 @@ export class Matrix {
5960
5960
  const ey = -Vector3.Dot(yAxis, eye);
5961
5961
  const ez = -Vector3.Dot(zAxis, eye);
5962
5962
  Matrix.FromValuesToRef(xAxis._x, yAxis._x, zAxis._x, 0.0, xAxis._y, yAxis._y, zAxis._y, 0.0, xAxis._z, yAxis._z, zAxis._z, 0.0, ex, ey, ez, 1.0, result);
5963
+ return result;
5963
5964
  }
5964
5965
  /**
5965
5966
  * Creates a new matrix that transforms vertices from world space to camera space. It takes three vectors as arguments that together describe the position and orientation of the camera.