From 53b06a5a07f73d42ddce049ebe028ade0ae74fc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 12 Oct 2022 23:05:08 +0200 Subject: [PATCH] Math: link to an Wikipedia article about vector projection. Best would be if I had a diagram there too, but NO TIME FOR THAT --- src/Magnum/Math/Vector.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Magnum/Math/Vector.h b/src/Magnum/Math/Vector.h index 46c6b7382..f6752ad51 100644 --- a/src/Magnum/Math/Vector.h +++ b/src/Magnum/Math/Vector.h @@ -599,8 +599,8 @@ template class Vector { /** * @brief Vector projected onto a line * - * Returns a vector projected onto @p line. Enabled only for - * floating-point types. @f[ + * Returns a vector [projected](https://en.wikipedia.org/wiki/Vector_projection) + * onto @p line. Enabled only for floating-point types. @f[ * \operatorname{proj}_{\boldsymbol{b}}\,(\boldsymbol{a}) = \frac{\boldsymbol a \cdot \boldsymbol b}{\boldsymbol b \cdot \boldsymbol b} \boldsymbol b * @f] * @see @ref Math::dot(), @ref projectedOntoNormalized()