Add entity rotation
This commit is contained in:
@@ -64,8 +64,9 @@ extern ECS_COMPONENT_DECLARE(SteeringOutput);
|
||||
typedef struct TextureRegion {
|
||||
Texture2D texture;
|
||||
Rectangle rec;
|
||||
bool flipX;
|
||||
bool flipY;
|
||||
f32 rotation;
|
||||
bool flipX : 1;
|
||||
bool flipY : 1;
|
||||
} TextureRegion;
|
||||
extern ECS_COMPONENT_DECLARE(TextureRegion);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user