@galacean/engine-math 0.9.0 → 1.0.0-beta.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/engine-math",
3
- "version": "0.9.0",
3
+ "version": "1.0.0-beta.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -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