From 7c3cb652bdfac18453edbf60f61f5bef1efa2359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 11 Apr 2013 17:19:35 +0200 Subject: [PATCH] Math: doc++ --- src/Math/Vector.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Math/Vector.h b/src/Math/Vector.h index ad4ea4314..3aacdc675 100644 --- a/src/Math/Vector.h +++ b/src/Math/Vector.h @@ -457,7 +457,7 @@ template class Vector { * values. @f[ * |\boldsymbol a| = \sqrt{\boldsymbol a \cdot \boldsymbol a} * @f] - * @see isNormalized() + * @see Math::sqrt(), normalized() * @todo something like std::hypot() for possibly better precision? */ inline T length() const { @@ -479,7 +479,7 @@ template class Vector { * Returns vector projected onto @p line. @f[ * \boldsymbol a_1 = \frac{\boldsymbol a \cdot \boldsymbol b}{\boldsymbol b \cdot \boldsymbol b} \boldsymbol b * @f] - * @see projectedOntoNormalized() + * @see dot(), projectedOntoNormalized() */ inline Vector projected(const Vector& line) const { return line*dot(*this, line)/line.dot(); @@ -493,6 +493,7 @@ template class Vector { * \boldsymbol a_1 = \frac{\boldsymbol a \cdot \boldsymbol b}{\boldsymbol b \cdot \boldsymbol b} \boldsymbol b = * (\boldsymbol a \cdot \boldsymbol b) \boldsymbol b * @f] + * @see dot() */ inline Vector projectedOntoNormalized(const Vector& line) const { CORRADE_ASSERT(line.isNormalized(), "Math::Vector::projectedOntoNormalized(): line must be normalized", (Vector(std::numeric_limits::quiet_NaN())));