Graphmath.Vec2.perp_prod
You're seeing just the function
perp_prod
, go back to Graphmath.Vec2 module for more information.
Link to this function
perp_prod(a, b)
Specs
perp_prod( a, b )
finds the perpindicular product of one vec2
with another vec2
.
a
is the first vec2
.
b
is the second vec2
.
The perpindicular product is the magnitude of the cross-product between the two vectors.
It returns a float of the value (a<sub>x</sub>b<sub>y</sub> - b<sub>x</sub>a<sub>y</sub>).