diff --git a/src/Math/Vector.h b/src/Math/Vector.h index cd4c5308e..d8949a579 100644 --- a/src/Math/Vector.h +++ b/src/Math/Vector.h @@ -29,6 +29,9 @@ namespace Magnum { namespace Math { /** @brief Vector */ template class Vector { public: + typedef T Type; + const static size_t Size = size; + /** @brief Angle between vectors */ inline static T angle(const Vector& a, const Vector& b) { return acos((a*b)/(a.length()*b.length()));