From dd8035c87efec996164c1c0f5c78c790d72747d9 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Sat, 23 Feb 2019 13:49:23 +0100 Subject: Add test to cmake --- include/mmvec.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/mmvec.hpp') 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::angle() const { template mm::vec2 mm::vec2::polar() const { - return mm::vec2 { + return { this->length(), this->angle() }; -- cgit v1.2.1