testbed: updated components
This commit is contained in:
11
testbed/component/position_component.h
Normal file
11
testbed/component/position_component.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include <SDL3/SDL_rect.h>
|
||||
|
||||
namespace testbed {
|
||||
|
||||
struct position_component {
|
||||
SDL_FPoint point;
|
||||
};
|
||||
|
||||
} // namespace testbed
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user