@babylonjs/core 6.6.1 → 6.7.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/Maths/math.vector.d.ts
CHANGED
|
@@ -529,6 +529,7 @@ export declare class Vector3 {
|
|
|
529
529
|
private static _RightReadOnly;
|
|
530
530
|
private static _LeftReadOnly;
|
|
531
531
|
private static _ZeroReadOnly;
|
|
532
|
+
private static _OneReadOnly;
|
|
532
533
|
/** @internal */
|
|
533
534
|
_x: number;
|
|
534
535
|
/** @internal */
|
|
@@ -1178,6 +1179,10 @@ export declare class Vector3 {
|
|
|
1178
1179
|
* Gets a zero Vector3 that must not be updated
|
|
1179
1180
|
*/
|
|
1180
1181
|
static get ZeroReadOnly(): DeepImmutable<Vector3>;
|
|
1182
|
+
/**
|
|
1183
|
+
* Gets a one Vector3 that must not be updated
|
|
1184
|
+
*/
|
|
1185
|
+
static get OneReadOnly(): DeepImmutable<Vector3>;
|
|
1181
1186
|
/**
|
|
1182
1187
|
* Returns a new Vector3 set to (0.0, -1.0, 0.0)
|
|
1183
1188
|
* Example Playground https://playground.babylonjs.com/#R1F8YU#71
|
package/Maths/math.vector.js
CHANGED
|
@@ -1820,6 +1820,12 @@ export class Vector3 {
|
|
|
1820
1820
|
static get ZeroReadOnly() {
|
|
1821
1821
|
return Vector3._ZeroReadOnly;
|
|
1822
1822
|
}
|
|
1823
|
+
/**
|
|
1824
|
+
* Gets a one Vector3 that must not be updated
|
|
1825
|
+
*/
|
|
1826
|
+
static get OneReadOnly() {
|
|
1827
|
+
return Vector3._OneReadOnly;
|
|
1828
|
+
}
|
|
1823
1829
|
/**
|
|
1824
1830
|
* Returns a new Vector3 set to (0.0, -1.0, 0.0)
|
|
1825
1831
|
* Example Playground https://playground.babylonjs.com/#R1F8YU#71
|
|
@@ -2590,6 +2596,7 @@ Vector3._RightHandedBackwardReadOnly = Vector3.Backward(true);
|
|
|
2590
2596
|
Vector3._RightReadOnly = Vector3.Right();
|
|
2591
2597
|
Vector3._LeftReadOnly = Vector3.Left();
|
|
2592
2598
|
Vector3._ZeroReadOnly = Vector3.Zero();
|
|
2599
|
+
Vector3._OneReadOnly = Vector3.One();
|
|
2593
2600
|
/**
|
|
2594
2601
|
* Vector4 class created for EulerAngle class conversion to Quaternion
|
|
2595
2602
|
*/
|