aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/RenderSystem.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-26 10:03:06 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-26 10:03:06 +0100
commit8cfb59093ce7b18c2b81cc8429a7568a3ba21a73 (patch)
treef4ac31b930ca47bab53fdf46b05d4444173028c9 /src/crepe/system/RenderSystem.h
parent20ff7753942de3f8eb95d4dee307dc643bc66153 (diff)
adjusted vector2 to vec2
Diffstat (limited to 'src/crepe/system/RenderSystem.h')
-rw-r--r--src/crepe/system/RenderSystem.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/crepe/system/RenderSystem.h b/src/crepe/system/RenderSystem.h
index f010a83..97222f3 100644
--- a/src/crepe/system/RenderSystem.h
+++ b/src/crepe/system/RenderSystem.h
@@ -1,13 +1,11 @@
#pragma once
-#include <functional>
-#include <vector>
+#include <cmath>
-#include "api/Vector2.h"
#include "facade/SDLContext.h"
#include "System.h"
-#include <cmath>
+#include "types.h"
namespace crepe {
@@ -82,7 +80,7 @@ private:
Camera * curr_cam_ref = nullptr;
// TODO: needs a better solution
- Vector2 scale;
+ vec2 scale;
SDLContext & context = SDLContext::get_instance();
};