/**
 * Not really a cross-product, since that doesn't exist in 2d.
 * We imagine Z to be 0, and essentially do a 3d vector cross product
 * Also known as "perpendicular dot product"
 * Also known as "exterior product"
 * Also known as "determinant"
 * Also known as "wedge product"
 * @param {number} x0
 * @param {number} y0
 * @param {number} x1
 * @param {number} y1
 * @return {number}
 */
export function v2_cross_product(
    x0, y0,
    x1, y1
) {

    return x0 * y1 - y0 * x1;

}