diff options
author | HampusM <hampus@hampusmat.com> | 2022-02-15 20:27:51 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-02-15 20:27:51 +0100 |
commit | 5dae8f8d10d506abc3c75a1f66c1dfe620c84fc1 (patch) | |
tree | 2bfb6efef0535a35bab1da811a5f69cb5203dff9 /src/engine/matrix.hpp | |
parent | 9147551cd21d565f9503e3ebbcd2121e284d88d5 (diff) |
refactor: improve project design
Diffstat (limited to 'src/engine/matrix.hpp')
-rw-r--r-- | src/engine/matrix.hpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/engine/matrix.hpp b/src/engine/matrix.hpp index ddc1a1c..c243eaf 100644 --- a/src/engine/matrix.hpp +++ b/src/engine/matrix.hpp @@ -1,6 +1,8 @@ #pragma once -#include "vector2.hpp" +#include "engine/bounds.hpp" +#include "engine/vector2.hpp" + #include <vector> /** @@ -13,10 +15,9 @@ public: /** * Creates a matrix. * - * @param rows The number of rows of the matrix - * @param columns The number of columns of the matrix + * @param bounds The bounds of the matrix */ - Matrix(unsigned int rows, unsigned int columns); + explicit Matrix(const Bounds &bounds); /** * Fills the matrix with a element. |