aboutsummaryrefslogtreecommitdiff
path: root/src/engine/graphics/matrix.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-07-01 17:27:49 +0200
committerHampusM <hampus@hampusmat.com>2022-07-01 17:27:49 +0200
commit578cf43e9c8384aab463aa2a33c5be00e46dc999 (patch)
tree927262a92b7ff0365463327130de78722578aa03 /src/engine/graphics/matrix.hpp
parentae15df6689b1245200f8a9eb074c59a200561e49 (diff)
refactor: matrix add get_size method
Diffstat (limited to 'src/engine/graphics/matrix.hpp')
-rw-r--r--src/engine/graphics/matrix.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/graphics/matrix.hpp b/src/engine/graphics/matrix.hpp
index 58905ee..5964f0f 100644
--- a/src/engine/graphics/matrix.hpp
+++ b/src/engine/graphics/matrix.hpp
@@ -32,6 +32,8 @@ public:
[[nodiscard]] auto get_column_cnt() const noexcept -> std::uint32_t override;
+ [[nodiscard]] auto get_size() const noexcept -> Bounds override;
+
[[nodiscard]] auto begin() const noexcept -> MatrixIterator<Element> override;
[[nodiscard]] auto end() const noexcept -> MatrixIterator<Element> override;