From 9633c6a8608175e9832f6995efc46023deebcf94 Mon Sep 17 00:00:00 2001 From: heavydemon21 Date: Thu, 19 Dec 2024 15:05:56 +0100 Subject: removed absoluut position because file name, renamed functions in sdlcontext --- src/crepe/facade/SDLContext.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/crepe/facade/SDLContext.cpp') diff --git a/src/crepe/facade/SDLContext.cpp b/src/crepe/facade/SDLContext.cpp index 642aef8..31b0a0b 100644 --- a/src/crepe/facade/SDLContext.cpp +++ b/src/crepe/facade/SDLContext.cpp @@ -24,11 +24,11 @@ #include "api/Transform.h" #include "facade/Font.h" #include "manager/Mediator.h" +#include "util/AbsolutePosition.h" #include "SDLContext.h" #include "Texture.h" #include "types.h" -#include "util/AbsoluutPosition.h" using namespace crepe; using namespace std; @@ -204,7 +204,7 @@ void SDLContext::draw_text(const RenderText & data) { const Text & text = data.text; const Font & font = data.font; - vec2 absoluut_pos = AbsoluutPosition::get_position(data.transform, data.text.offset); + vec2 absoluut_pos = AbsolutePosition::get_position(data.transform, data.text.offset); std::unique_ptr> font_surface; std::unique_ptr> font_texture; -- cgit v1.2.3