From 56e75295bea66c03a92a752cb6cdc7993c43d4f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 15 Oct 2016 15:34:23 +0200 Subject: [PATCH] Math: mention more useful dot product and determinant properties. --- src/Magnum/Math/Matrix.h | 3 ++- src/Magnum/Math/Vector.h | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Magnum/Math/Matrix.h b/src/Magnum/Math/Matrix.h index b2b391aa7..8d204b59f 100644 --- a/src/Magnum/Math/Matrix.h +++ b/src/Magnum/Math/Matrix.h @@ -163,7 +163,8 @@ template class Matrix: public RectangularMatrix 0` when two vectors are in +the same general direction, `1` when two *normalized* vectors are parallel, +`< 0` when two vectors are in opposite general direction and `-1` when two +*normalized* vectors are antiparallel. @f[ \boldsymbol a \cdot \boldsymbol b = \sum_{i=0}^{n-1} \boldsymbol a_i \boldsymbol b_i @f] @see @ref Vector::dot() const, @ref Vector::operator-(), @ref Vector2::perpendicular()