/**
 *
 * @param {number} x0
 * @param {number} y0
 * @param {number} x1
 * @param {number} y1
 * @param {number} px
 * @param {number} py
 * @return {boolean}
 */
export function aabb2_intersects_point(
    x0, y0,
    x1, y1,
    px, py
) {
    return x0 <= px && x1 >= px && y0 <= py && y1 >= py;
}