diff --git a/CMakeLists.txt b/CMakeLists.txt index 30af81c..571efa3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.20) include(cmake/color.cmake) -set(BLT_VERSION 5.2.11) +set(BLT_VERSION 5.2.12) set(BLT_TARGET BLT) diff --git a/include/blt/logging/status.h b/include/blt/logging/status.h index 8644888..5366add 100644 --- a/include/blt/logging/status.h +++ b/include/blt/logging/status.h @@ -49,6 +49,7 @@ namespace blt::logging virtual ~status_bar_t() override; private: i32 m_status_size; + i32 m_last_position[2]; }; } diff --git a/include/blt/math/vectors.h b/include/blt/math/vectors.h index 7ab4853..52d909f 100644 --- a/include/blt/math/vectors.h +++ b/include/blt/math/vectors.h @@ -107,6 +107,11 @@ namespace blt } } + [[nodiscard]] const std::array& to_array() const + { + return elements; + } + [[nodiscard]] constexpr inline T x() const { return elements[0];