@galacean/engine-math 2.0.0-alpha.49 → 2.0.0-alpha.50
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/dist/main.js +3 -1
- package/dist/main.js.map +1 -1
- package/dist/module.js +3 -1
- package/dist/module.js.map +1 -1
- package/package.json +1 -1
- package/types/BoundingBox.d.ts +1 -1
- package/types/BoundingFrustum.d.ts +3 -3
- package/types/BoundingSphere.d.ts +1 -1
- package/types/Color.d.ts +1 -1
- package/types/Matrix.d.ts +2 -1
- package/types/Matrix3x3.d.ts +2 -1
- package/types/Plane.d.ts +1 -1
- package/types/Quaternion.d.ts +1 -1
- package/types/Ray.d.ts +1 -1
- package/types/Rect.d.ts +1 -1
- package/types/Vector2.d.ts +1 -1
- package/types/Vector3.d.ts +1 -1
- package/types/Vector4.d.ts +1 -1
package/dist/module.js
CHANGED
|
@@ -1359,7 +1359,7 @@ CollisionUtil._tempVec32 = new Vector3();
|
|
|
1359
1359
|
/**
|
|
1360
1360
|
* Get the plane by the given frustum face.
|
|
1361
1361
|
* @param face - The frustum face
|
|
1362
|
-
* @returns The plane
|
|
1362
|
+
* @returns The plane, or null for an invalid face
|
|
1363
1363
|
*/ _proto.getPlane = function getPlane(face) {
|
|
1364
1364
|
switch(face){
|
|
1365
1365
|
case FrustumFace.Near:
|
|
@@ -1852,6 +1852,7 @@ CollisionUtil._tempVec32 = new Vector3();
|
|
|
1852
1852
|
* Calculate the inverse of the specified matrix.
|
|
1853
1853
|
* @param a - The matrix whose inverse is to be calculated
|
|
1854
1854
|
* @param out - The inverse of the specified matrix
|
|
1855
|
+
* @returns Null if the matrix is singular; otherwise undefined
|
|
1855
1856
|
*/ Matrix3x3.invert = function invert(a, out) {
|
|
1856
1857
|
var ae = a.elements;
|
|
1857
1858
|
var oe = out.elements;
|
|
@@ -3323,6 +3324,7 @@ CollisionUtil._tempVec32 = new Vector3();
|
|
|
3323
3324
|
* Calculate the inverse of the specified matrix.
|
|
3324
3325
|
* @param a - The matrix whose inverse is to be calculated
|
|
3325
3326
|
* @param out - The inverse of the specified matrix
|
|
3327
|
+
* @returns Null if the matrix is singular; otherwise undefined
|
|
3326
3328
|
*/ Matrix.invert = function invert(a, out) {
|
|
3327
3329
|
var ae = a.elements;
|
|
3328
3330
|
var oe = out.elements;
|