mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
clarify it's only the z component
This commit is contained in:
parent
f99a564f89
commit
2887791109
|
@ -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>.
|
||||||
///
|
///
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue