testbed: updated components

This commit is contained in:
skypjack
2025-04-30 16:23:47 +02:00
parent 57a6c6b238
commit f5bbc895b5
2 changed files with 13 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
#pragma once
#include <SDL3/SDL_rect.h>
namespace testbed {
struct position_component {
SDL_FPoint point;
};
} // namespace testbed

View File

@@ -1,11 +1,11 @@
#pragma once
#include <SDL_rect.h>
#include <SDL3/SDL_rect.h>
namespace testbed {
struct rect_component {
SDL_Rect area;
SDL_FRect area;
};
} // namespace testbed