Lisibility.

This commit is contained in:
Ulysse Cura 2026-08-10 12:39:04 +02:00
parent 3548ef456f
commit 27d5a151d1
3 changed files with 3 additions and 2 deletions

View File

@ -9,9 +9,11 @@
typedef struct hitbox_component_data_t {
transform_component_data_t *transform_component_data;
fvector2d_t position;
fvector2d_t scale;
frect_t bounds;
bool activated;
} hitbox_component_data_t;

View File

@ -9,6 +9,7 @@
typedef struct physics_system_data_t {
transform_component_data_t *transform_component_data;
hitbox_component_data_t *hitbox_component_data;
fvector2d_t target_velocity;
fvector2d_t velocity;
float speed;

View File

@ -9,10 +9,8 @@ typedef struct sprite_component_data_t {
transform_component_data_t *transform_component_data;
texture_t *texture;
rect_t src_rect;
frect_t dst_rect;
bool flip;
} sprite_component_data_t;