aboutsummaryrefslogtreecommitdiff
path: root/src/engine/matrix.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/matrix.hpp')
-rw-r--r--src/engine/matrix.hpp9
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.