Login

Fancade Wiki

Improved the explanation, looking for suggestions.

... ...
@@ -1,14 +1,16 @@
1
Computes the [[cross product|https://en.wikipedia.org/wiki/Cross_product]] of the two input [[vector]]s.
1
The Cross Product calculates the cross product of the two input vectors, and outputs another vector.
2 2
3
Let's say that Vector C is the cross product of these two vectors:\
4
**Vector A:** (Ax, Ay, Az)\
5
**Vector B:** (Bx, By, Bz)
3
[[/uploads/Cross Product.png]]
6 4
7
If we split the components, the formula to find the cross product is:\
8
**Cx:** (Ay×Bz)-(Az×By)\
9
**Cy:** (Az×Bx)-(Ax×Bz)\
10
**Cz:** (Ax×By)-(Ay×Bx)
5
## Details
11 6
12
The cross product is used to find a vector that is perpendicular to to both vectors.
7
The Cross Product is a way of multiplying two vectors together.
8
We can calculate the Cross Product of two vectors this way, let's say that the cross product of A and B is vector C:
13 9
14
[[/uploads/Cross Product.png]]
... ...
\ No newline at end of file
0
Cx = Ay × Bx - Az × By
1
Cy = Az × Bx - Ax × Bz
2
Cz = Ax × By - Ay × Bx
3
4
It outputs the vector that is perpendicular to both input vectors (or the plane spanned by those two vectors).
5
6
The length of that vector is equal to the area of the parallelogram formed by those two input vectors (each vector gives a pair of parallel sides). Not that common for this knowledge to be used, you would often use the vector for it's direction and not it's length.
Fancade Wiki