use ECS_ALIAS

isolation_bkp/dynres
Dominik Madarász 2021-01-18 17:54:25 +01:00
parent b2cf7e001b
commit d744f37ac4
1 changed files with 2 additions and 2 deletions

View File

@ -13,8 +13,8 @@ ECS_STRUCT(Drawable, {
uint16_t id; uint16_t id;
}); });
typedef Vector2D Chunk; ECS_ALIAS(Vector2D, Chunk);
typedef Vector2D Position; ECS_ALIAS(Vector2D, Position);
typedef struct { typedef struct {
ECS_DECLARE_COMPONENT(Chunk); ECS_DECLARE_COMPONENT(Chunk);