diff options
author | Nao Pross <naopross@thearcway.org> | 2019-02-23 13:51:05 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2019-02-23 13:51:05 +0100 |
commit | 27cfe7f190fcfaf3b5c508f0c5dd8ae6ebb2f057 (patch) | |
tree | f16fd47fbee92e0bdc2669724c71e94fc9442bee /include | |
parent | Start specializations of basic_matrix (diff) | |
parent | Add test to cmake (diff) | |
download | libmm-27cfe7f190fcfaf3b5c508f0c5dd8ae6ebb2f057.tar.gz libmm-27cfe7f190fcfaf3b5c508f0c5dd8ae6ebb2f057.zip |
Merge branch 'master' into matrices
Diffstat (limited to 'include')
-rw-r--r-- | include/mmvec.hpp | 2 |
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() }; |