From 2369a8146cd81e2c22c8b33da020ab9510a5e78b Mon Sep 17 00:00:00 2001 From: rexy712 Date: Mon, 17 Aug 2020 09:33:29 -0700 Subject: [PATCH] Cleanup aliases --- include/math/fwd_declare.hpp | 2 ++ include/math/mat.hpp | 8 -------- include/math/vec.hpp | 7 ------- 3 files changed, 2 insertions(+), 15 deletions(-) diff --git a/include/math/fwd_declare.hpp b/include/math/fwd_declare.hpp index c40115e..5e0c155 100644 --- a/include/math/fwd_declare.hpp +++ b/include/math/fwd_declare.hpp @@ -44,6 +44,8 @@ namespace math{ template using vec4 = vector; + template + using quat = quaternion; } #endif diff --git a/include/math/mat.hpp b/include/math/mat.hpp index ef4117f..4625e32 100644 --- a/include/math/mat.hpp +++ b/include/math/mat.hpp @@ -253,14 +253,6 @@ namespace math{ template constexpr decltype(auto) operator-=(matrix& left, const matrix& right); - - template - using mat2 = matrix; - template - using mat3 = matrix; - template - using mat4 = matrix; - } #include "mat.tpp" diff --git a/include/math/vec.hpp b/include/math/vec.hpp index 519636e..77534bc 100644 --- a/include/math/vec.hpp +++ b/include/math/vec.hpp @@ -95,13 +95,6 @@ namespace math{ template constexpr decltype(auto) operator-=(vector& left, const vector& right); - - template - using vec2 = vector; - template - using vec3 = vector; - template - using vec4 = vector; } #include "vec.tpp"