@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/main.js
CHANGED
|
@@ -1363,7 +1363,7 @@ CollisionUtil._tempVec32 = new Vector3();
|
|
|
1363
1363
|
/**
|
|
1364
1364
|
* Get the plane by the given frustum face.
|
|
1365
1365
|
* @param face - The frustum face
|
|
1366
|
-
* @returns The plane
|
|
1366
|
+
* @returns The plane, or null for an invalid face
|
|
1367
1367
|
*/ _proto.getPlane = function getPlane(face) {
|
|
1368
1368
|
switch(face){
|
|
1369
1369
|
case FrustumFace.Near:
|
|
@@ -1856,6 +1856,7 @@ CollisionUtil._tempVec32 = new Vector3();
|
|
|
1856
1856
|
* Calculate the inverse of the specified matrix.
|
|
1857
1857
|
* @param a - The matrix whose inverse is to be calculated
|
|
1858
1858
|
* @param out - The inverse of the specified matrix
|
|
1859
|
+
* @returns Null if the matrix is singular; otherwise undefined
|
|
1859
1860
|
*/ Matrix3x3.invert = function invert(a, out) {
|
|
1860
1861
|
var ae = a.elements;
|
|
1861
1862
|
var oe = out.elements;
|
|
@@ -3327,6 +3328,7 @@ CollisionUtil._tempVec32 = new Vector3();
|
|
|
3327
3328
|
* Calculate the inverse of the specified matrix.
|
|
3328
3329
|
* @param a - The matrix whose inverse is to be calculated
|
|
3329
3330
|
* @param out - The inverse of the specified matrix
|
|
3331
|
+
* @returns Null if the matrix is singular; otherwise undefined
|
|
3330
3332
|
*/ Matrix.invert = function invert(a, out) {
|
|
3331
3333
|
var ae = a.elements;
|
|
3332
3334
|
var oe = out.elements;
|