diff --git a/MantleAPI/include/MantleAPI/Common/vector.h b/MantleAPI/include/MantleAPI/Common/vector.h index e8e5e4b746d5a2550ca8ff3958d5e296f329109c..23109ccc2e4d3a92abd917f21372a2192e4af084 100644 --- a/MantleAPI/include/MantleAPI/Common/vector.h +++ b/MantleAPI/include/MantleAPI/Common/vector.h @@ -24,6 +24,13 @@ namespace mantle_api template <typename T, class = typename std::enable_if_t<units::traits::is_unit_t<T>::value>> struct Vec3 { + Vec3() = default; + + Vec3(T x_in, T y_in, T z_in) + : x{x_in}, y{y_in}, z{z_in} + { + } + T x{0}; T y{0}; T z{0};