summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mmvec.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mmvec.hpp b/include/mmvec.hpp
index db3c390..21e91b5 100644
--- a/include/mmvec.hpp
+++ b/include/mmvec.hpp
@@ -318,7 +318,7 @@ T mm::vec2<T>::angle() const {
template<typename T>
mm::vec2<T> mm::vec2<T>::polar() const {
- return mm::vec2 {
+ return {
this->length(),
this->angle()
};