aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-02-13 19:55:53 +0100
committerHampusM <hampus@hampusmat.com>2022-02-13 19:55:53 +0100
commitb0c265ee3d94921f55266a679d3801a4d2b4505b (patch)
treeb489dcbafddafdb05b415e920e9a2ca8524158e6 /src
parent36ce8d5d2c9b3bb9588a2bc1d96ee2678c2b990c (diff)
refactor: move some components to a engine dir
Diffstat (limited to 'src')
-rw-r--r--src/engine/matrix.hpp (renamed from src/matrix.hpp)0
-rw-r--r--src/engine/matrix.tpp (renamed from src/matrix.tpp)0
-rw-r--r--src/engine/vector2.cpp (renamed from src/vector2.cpp)0
-rw-r--r--src/engine/vector2.hpp (renamed from src/vector2.hpp)0
-rw-r--r--src/maze.hpp4
-rw-r--r--src/maze.tpp1
-rw-r--r--src/mazerator.cpp4
7 files changed, 4 insertions, 5 deletions
diff --git a/src/matrix.hpp b/src/engine/matrix.hpp
index ddc1a1c..ddc1a1c 100644
--- a/src/matrix.hpp
+++ b/src/engine/matrix.hpp
diff --git a/src/matrix.tpp b/src/engine/matrix.tpp
index b9fa495..b9fa495 100644
--- a/src/matrix.tpp
+++ b/src/engine/matrix.tpp
diff --git a/src/vector2.cpp b/src/engine/vector2.cpp
index effc8b5..effc8b5 100644
--- a/src/vector2.cpp
+++ b/src/engine/vector2.cpp
diff --git a/src/vector2.hpp b/src/engine/vector2.hpp
index 3dc1db1..3dc1db1 100644
--- a/src/vector2.hpp
+++ b/src/engine/vector2.hpp
diff --git a/src/maze.hpp b/src/maze.hpp
index f343010..e525d70 100644
--- a/src/maze.hpp
+++ b/src/maze.hpp
@@ -1,7 +1,7 @@
#pragma once
-#include "matrix.hpp"
-#include "vector2.hpp"
+#include "engine/matrix.hpp"
+#include "engine/vector2.hpp"
#include <memory>
#include <random>
#include <string>
diff --git a/src/maze.tpp b/src/maze.tpp
index fd71479..19390cc 100644
--- a/src/maze.tpp
+++ b/src/maze.tpp
@@ -1,4 +1,3 @@
-#include "matrix.hpp"
#include "maze.hpp"
#include "stack.hpp"
#include <vector>
diff --git a/src/mazerator.cpp b/src/mazerator.cpp
index a82bbaf..33ef1b1 100644
--- a/src/mazerator.cpp
+++ b/src/mazerator.cpp
@@ -1,8 +1,8 @@
+#include "engine/matrix.hpp"
+#include "engine/vector2.hpp"
#include "getopt.h"
-#include "matrix.hpp"
#include "maze.hpp"
#include "utils.hpp"
-#include "vector2.hpp"
#include <iostream>
#include <memory>
#include <random>