diff --git a/src/vec2.rs b/src/vec2.rs index f4743fc2..01f86060 100644 --- a/src/vec2.rs +++ b/src/vec2.rs @@ -61,7 +61,14 @@ macro_rules! impl_vec2_signed_methods { } /// The perpendicular dot product of `self` and `other`. + /// Also known as the wedge product, 2d cross product, and determinant. #[inline(always)] + #[cfg_attr( + docsrs, + doc(alias = "wedge"), + doc(alias = "cross"), + doc(alias = "determinant") + )] pub fn perp_dot(self, other: $vec2) -> $t { self.0.perp_dot(other.0) }