twn_lines.c: 3d case

This commit is contained in:
veclavtalica
2025-03-01 03:46:11 +03:00
parent 5911cbd980
commit 307d5552f6
6 changed files with 62 additions and 6 deletions

View File

@ -50,6 +50,13 @@ typedef struct EngineContext {
MeshBatchItem *uncolored_mesh_batches;
MeshBatchItem *billboard_batches;
MeshBatchItem *quad_batches;
struct LineBatchItem {
struct LineBatchItemKey {
Color color;
uint8_t thickness;
} key;
struct LinePrimitive value;
} *line_batches;
TextCache text_cache;
TextureCache texture_cache;