Login

Fancade Wiki

Updated Dot Product.md (markdown)

... ...
@@ -28,8 +28,8 @@ If the angle is obtuse, then the dot product is negative.
28 28
29 29
## Example
30 30
31
If the two input vectors are unit vectors (vectors with length of 1), the dot product outputs the cosine of the angles formed by those two vectors. If the two input aren't unit vectors, we can still find the cosine of the angle with two methods:
32
- Normalize the two input vectors first before the dot product.
31
The dot product of two unit vectors outputs the cosine of the angle between those two vectors. If our two inputs aren't unit vectors, we can find the cosine with two methods:
32
- Normalize the two input vectors first.
33 33
- Get the output of the dot product and divide it by the product of the two input vectors' length.
34 34
35 35
[[/uploads/20210106_122008.jpg]]
Fancade Wiki