diff --git a/src/Math/Vector.h b/src/Math/Vector.h index 63355fd9f..3ec9a3d69 100644 --- a/src/Math/Vector.h +++ b/src/Math/Vector.h @@ -148,7 +148,7 @@ template class Vector { } /** @brief Normalized vector (of length 1) */ - Vector normalized() const { + inline Vector normalized() const { return *this/length(); }