@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.
- package/Cameras/camera.js +1 -1
- package/Cameras/camera.js.map +1 -1
- package/Culling/ray.js +24 -24
- package/Culling/ray.js.map +1 -1
- package/Debug/skeletonViewer.js +2 -2
- package/Debug/skeletonViewer.js.map +1 -1
- package/Engines/Extensions/engine.views.d.ts +8 -5
- package/Engines/Extensions/engine.views.js +14 -8
- package/Engines/Extensions/engine.views.js.map +1 -1
- package/Engines/WebGPU/Extensions/engine.multiRender.js +6 -3
- package/Engines/WebGPU/Extensions/engine.multiRender.js.map +1 -1
- package/Engines/engine.d.ts +16 -1
- package/Engines/engine.js +1 -1
- package/Engines/engine.js.map +1 -1
- package/Engines/thinEngine.js +2 -2
- package/Engines/thinEngine.js.map +1 -1
- package/Gizmos/axisDragGizmo.d.ts +4 -2
- package/Gizmos/axisDragGizmo.js +18 -6
- package/Gizmos/axisDragGizmo.js.map +1 -1
- package/Gizmos/axisScaleGizmo.d.ts +2 -2
- package/Gizmos/axisScaleGizmo.js +1 -1
- package/Gizmos/axisScaleGizmo.js.map +1 -1
- package/Gizmos/planeDragGizmo.d.ts +4 -4
- package/Gizmos/planeDragGizmo.js +1 -1
- package/Gizmos/planeDragGizmo.js.map +1 -1
- package/Gizmos/planeRotationGizmo.d.ts +13 -7
- package/Gizmos/planeRotationGizmo.js +26 -10
- package/Gizmos/planeRotationGizmo.js.map +1 -1
- package/Materials/Node/Blocks/Teleport/teleportInBlock.d.ts +6 -0
- package/Materials/Node/Blocks/Teleport/teleportInBlock.js +22 -0
- package/Materials/Node/Blocks/Teleport/teleportInBlock.js.map +1 -1
- package/Materials/Textures/Procedurals/proceduralTexture.d.ts +1 -1
- package/Materials/Textures/Procedurals/proceduralTexture.js +1 -1
- package/Materials/Textures/Procedurals/proceduralTexture.js.map +1 -1
- package/Materials/Textures/multiRenderTarget.d.ts +14 -10
- package/Materials/Textures/multiRenderTarget.js +7 -5
- package/Materials/Textures/multiRenderTarget.js.map +1 -1
- package/Materials/imageProcessingConfiguration.d.ts +2 -2
- package/Materials/imageProcessingConfiguration.js +2 -2
- package/Materials/imageProcessingConfiguration.js.map +1 -1
- package/Maths/math.vector.d.ts +5 -5
- package/Maths/math.vector.js +5 -4
- package/Maths/math.vector.js.map +1 -1
- package/Meshes/Builders/linesBuilder.js +4 -2
- package/Meshes/Builders/linesBuilder.js.map +1 -1
- package/Meshes/GreasedLine/greasedLineBaseMesh.d.ts +1 -1
- package/Meshes/GreasedLine/greasedLineBaseMesh.js +1 -1
- package/Meshes/GreasedLine/greasedLineBaseMesh.js.map +1 -1
- package/Meshes/Node/nodeGeometry.js +3 -1
- package/Meshes/Node/nodeGeometry.js.map +1 -1
- package/Meshes/groundMesh.js +1 -1
- package/Meshes/groundMesh.js.map +1 -1
- package/Physics/physicsHelper.d.ts +1 -1
- package/Physics/physicsHelper.js +1 -1
- package/Physics/physicsHelper.js.map +1 -1
- package/PostProcesses/RenderPipeline/Pipelines/ssrRenderingPipeline.d.ts +1 -1
- package/PostProcesses/RenderPipeline/Pipelines/ssrRenderingPipeline.js +1 -1
- package/PostProcesses/RenderPipeline/Pipelines/ssrRenderingPipeline.js.map +1 -1
- package/PostProcesses/bloomEffect.d.ts +1 -1
- package/PostProcesses/bloomEffect.js +1 -1
- package/PostProcesses/bloomEffect.js.map +1 -1
- package/PostProcesses/postProcess.d.ts +1 -1
- package/PostProcesses/postProcess.js +1 -1
- package/PostProcesses/postProcess.js.map +1 -1
- package/Rendering/depthPeelingRenderer.d.ts +5 -0
- package/Rendering/depthPeelingRenderer.js +33 -9
- package/Rendering/depthPeelingRenderer.js.map +1 -1
- package/Rendering/depthRenderer.js +9 -0
- package/Rendering/depthRenderer.js.map +1 -1
- package/Shaders/depth.vertex.d.ts +2 -0
- package/Shaders/depth.vertex.js +4 -0
- package/Shaders/depth.vertex.js.map +1 -1
- package/XR/features/WebXRAbstractFeature.d.ts +10 -1
- package/XR/features/WebXRAbstractFeature.js +13 -0
- package/XR/features/WebXRAbstractFeature.js.map +1 -1
- package/XR/features/WebXRLightEstimation.d.ts +5 -0
- package/XR/features/WebXRLightEstimation.js +14 -2
- package/XR/features/WebXRLightEstimation.js.map +1 -1
- package/XR/features/WebXRRawCameraAccess.d.ts +81 -0
- package/XR/features/WebXRRawCameraAccess.js +169 -0
- package/XR/features/WebXRRawCameraAccess.js.map +1 -0
- package/XR/features/index.d.ts +1 -0
- package/XR/features/index.js +1 -0
- package/XR/features/index.js.map +1 -1
- package/XR/webXRFeaturesManager.d.ts +13 -0
- package/XR/webXRFeaturesManager.js +4 -0
- package/XR/webXRFeaturesManager.js.map +1 -1
- package/package.json +1 -1
- package/scene.d.ts +1 -1
- package/scene.js +11 -6
- package/scene.js.map +1 -1
package/Maths/math.vector.js
CHANGED
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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.
|