clarify it's only the z component

This commit is contained in:
Corwin 2024-05-15 22:32:28 +01:00
parent f99a564f89
commit 2887791109
No known key found for this signature in database

View file

@ -1142,7 +1142,7 @@ impl<T: Number> Vector2D<T> {
/// let dot = v1.cross(v2); /// let dot = v1.cross(v2);
/// assert_eq!(dot, -2); /// assert_eq!(dot, -2);
/// ``` /// ```
/// The cross product for vectors *A* and *B* is defined as /// The *z* component cross product for vectors *A* and *B* is defined as
/// > *A*<sub>*x*</sub> × *B*<sub>*y*</sub> - *A*<sub>*y*</sub> × *B*<sub>*x*</sub>. /// > *A*<sub>*x*</sub> × *B*<sub>*y*</sub> - *A*<sub>*y*</sub> × *B*<sub>*x*</sub>.
/// ///
/// ///