v2_cross_product
v2_cross_product(x0, y0, x1, y1) ⇒ number
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"
Kind: global function
Param | Type |
---|---|
x0 | number |
y0 | number |
x1 | number |
y1 | number |