diff --git a/src/math/vector.hpp b/src/math/vector.hpp index a0b8d37..3216d7b 100644 --- a/src/math/vector.hpp +++ b/src/math/vector.hpp @@ -37,6 +37,11 @@ namespace hack public: value_t get_value() { return value_; }; + auto get(std::size_t index) + { + return std::get(value_); + } + auto length() { return std::sqrt(length_idx(std::make_index_sequence::value>{}));