add double precision alias declarations and remove typedefs

This commit is contained in:
Daniel Agar
2021-02-11 12:40:54 -05:00
parent 977cf52322
commit 3679f7fd51
9 changed files with 30 additions and 18 deletions
+5 -3
View File
@@ -21,8 +21,8 @@ class Vector2 : public Vector<Type, 2>
{
public:
typedef Matrix<Type, 2, 1> Matrix21;
typedef Vector<Type, 3> Vector3;
using Matrix21 = Matrix<Type, 2, 1>;
using Vector3 = Vector<Type, 3>;
Vector2() = default;
@@ -71,7 +71,9 @@ public:
};
typedef Vector2<float> Vector2f;
using Vector2f = Vector2<float>;
using Vector2d = Vector2<double>;
} // namespace matrix