twn_draw: texture_region option for draw_billboard()

This commit is contained in:
veclavtalica
2025-02-15 22:42:14 +03:00
parent 793bd850f6
commit 5a83381ae1
5 changed files with 34 additions and 11 deletions

View File

@ -121,6 +121,8 @@ typedef struct SpaceBillboard {
Vec3 position;
Vec2 size;
Color color;
m_option_list(
Rect, texture_region )
// TextureKey texture; /* is assumed from other places */
bool cylindrical;
} SpaceBillboard;