@galacean/engine-math 0.9.0-beta.80 → 1.0.0-alpha.6
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/browser.js +44 -0
- package/dist/browser.min.js +1 -1
- package/dist/main.js +44 -0
- package/dist/main.js.map +1 -1
- package/dist/miniprogram.js +44 -0
- package/dist/module.js +44 -0
- package/dist/module.js.map +1 -1
- package/package.json +1 -1
- package/types/CollisionUtil.d.ts +7 -0
package/package.json
CHANGED
package/types/CollisionUtil.d.ts
CHANGED
|
@@ -98,6 +98,13 @@ export declare class CollisionUtil {
|
|
|
98
98
|
* @returns True if bounding box intersects with this frustum, false otherwise
|
|
99
99
|
*/
|
|
100
100
|
static intersectsFrustumAndBox(frustum: BoundingFrustum, box: BoundingBox): boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Get the containment type between a frustum and a point.
|
|
103
|
+
* @param frustum - The frustum
|
|
104
|
+
* @param point - The point
|
|
105
|
+
* @returns The containment type
|
|
106
|
+
*/
|
|
107
|
+
static frustumContainsPoint(frustum: BoundingFrustum, point: Vector3): ContainmentType;
|
|
101
108
|
/**
|
|
102
109
|
* Get the containment type between a frustum and a box (AABB).
|
|
103
110
|
* @param frustum - The frustum
|