diff options
Diffstat (limited to 'src/interfaces/matrix.hpp')
-rw-r--r-- | src/interfaces/matrix.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/interfaces/matrix.hpp b/src/interfaces/matrix.hpp index 72d18d9..8242b18 100644 --- a/src/interfaces/matrix.hpp +++ b/src/interfaces/matrix.hpp @@ -1,7 +1,7 @@ #pragma once -#include "interfaces/bounds.hpp" -#include "interfaces/vector2.hpp" +#include "engine/data/bounds.hpp" +#include "engine/data/vector2.hpp" #include <memory> @@ -23,7 +23,7 @@ public: * * @param pos The position of a element */ - [[nodiscard]] virtual Element get(const IVector2 &pos) const = 0; + [[nodiscard]] virtual Element get(const Vector2 &pos) const = 0; /** * Sets a element of the matrix. @@ -31,7 +31,7 @@ public: * @param pos The position of a element * @param element A new element */ - virtual void set(const IVector2 &pos, Element element) = 0; + virtual void set(const Vector2 &pos, Element element) = 0; /** * Returns the number of rows the matrix has. @@ -45,4 +45,4 @@ public: }; template <typename Element> -using IMatrixFactory = std::shared_ptr<IMatrix<Element>> (*)(const IBounds &bounds); +using IMatrixFactory = std::shared_ptr<IMatrix<Element>> (*)(const Bounds &bounds); |