Skip to main content

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

ParamType
x0number
y0number
x1number
y1number