make SpritePrimitive take less space (52 -> 48 bytes)
This commit is contained in:
parent
6d5732cc2b
commit
f9a8448782
@ -37,12 +37,13 @@ typedef struct SpritePrimitive {
|
|||||||
Color color;
|
Color color;
|
||||||
float rotation;
|
float rotation;
|
||||||
TextureKey texture_key;
|
TextureKey texture_key;
|
||||||
bool flip_x;
|
|
||||||
bool flip_y;
|
|
||||||
bool repeat;
|
|
||||||
|
|
||||||
m_option_list(
|
m_option_list(
|
||||||
Rect, texture_region )
|
Rect, texture_region )
|
||||||
|
|
||||||
|
bool flip_x;
|
||||||
|
bool flip_y;
|
||||||
|
bool repeat;
|
||||||
} SpritePrimitive;
|
} SpritePrimitive;
|
||||||
|
|
||||||
typedef struct RectPrimitive {
|
typedef struct RectPrimitive {
|
||||||
|
Loading…
Reference in New Issue
Block a user