Cross product
Takes two 3D vectors and returns a third one that is perpendicular to both. Its length equals the area of the parallelogram the two inputs span.
The main use is finding a surface normal from two edges of a triangle. Swapping the inputs flips the result.
- Further reading
- LearnOpenGL: Transformations: cross product