I'm trying to find and so far cant find what is
vector1.x * vector2.y - vector2.x * vector1.y
When I'm googling most results is about vector multiplication, but in the articles I haven't found this formula yet.
I'm trying to find and so far cant find what is
vector1.x * vector2.y - vector2.x * vector1.y
When I'm googling most results is about vector multiplication, but in the articles I haven't found this formula yet.
vector1.x * vector.y - vector.x * vector1.y
? If so, this is a cross product. – eyeballfrog Jun 17 '21 at 11:59vector1.x
andvector.y
etc.. What sort of multiplication are you doing? Are you perhaps trying to multiply components of the vectors? If so... what is causing you trouble here? That is... for instance ifvector1
happens to be $(4,7)$ for instance, that is with $x$ coordinate $4$ and $y$ coordinate $7$, andvector
happens to be $(10,20)$ (these numbers picked arbitrarily just so you can see them show up again later)... thenvector1.x * vector.y - vector.x * vector.y
would simply be $4\cdot 20 - 10\cdot 20$ – JMoravitz Jun 17 '21 at 12:01