UNPKG

arcade-physics

Version:
16 lines 764 B
export default GetCircleToRectangle; /** * Checks for intersection between a circle and a rectangle, * and returns the intersection points as a Point object array. * * @function Phaser.Geom.Intersects.GetCircleToRectangle * @since 3.0.0 * * @param {Phaser.Geom.Circle} circle - The circle to be checked. * @param {Phaser.Geom.Rectangle} rect - The rectangle to be checked. * @param {array} [out] - An optional array in which to store the points of intersection. * * @return {array} An array with the points of intersection if objects intersect, otherwise an empty array. */ declare function GetCircleToRectangle(circle: Phaser.Geom.Circle, rect: Phaser.Geom.Rectangle, out?: any[] | undefined): any[]; //# sourceMappingURL=GetCircleToRectangle.d.ts.map