diff --git a/src/Math/Vector.h b/src/Math/Vector.h index 39589af74..a2b2ee7d1 100644 --- a/src/Math/Vector.h +++ b/src/Math/Vector.h @@ -365,7 +365,10 @@ extern template Corrade::Utility::Debug MAGNUM_EXPORT operator<<(Corrade::Utilit return *this; \ } \ \ - inline Type normalized() const { return Math::Vector::normalized(); } + inline Type normalized() const { return Math::Vector::normalized(); } \ + inline Type projected(const Math::Vector& other) const { \ + return Math::Vector::projected(other); \ + } #define MAGNUM_VECTOR_SUBCLASS_OPERATOR_IMPLEMENTATION(Type, size) \ template inline typename std::enable_if::value, Type>::type operator*(U number, const Type& vector) { \