Linear Algebra
Table of Contents
Cross Product
- Only in three-dimensional space
- The cross product
a × b
is defined as a vectorc
that is perpendicular to botha
andb
2D Game Use Case
- Cross product of two 2D vectors is not a 2D vector; instead, it is a scalar.
- The sign of the cross product of 2D vectors tells you
- whether the second vector is on the left or right side of the first vector