feat: add text rendering with SDF's

This commit is contained in:
2026-10-17 16:00:51 +02:00
parent 7dd5ee7903
commit 67c685a158
12 changed files with 746 additions and 51 deletions
+1 -1
View File
@@ -4,8 +4,8 @@
#define SHAPE_RECT 0
#define SHAPE_ELLIPSE 1
#define SHAPE_TRIANGLE 2
#define SHAPE_TEXT 3
// Mirrors Shape2D in Renderer2D.h
struct Shape2D {
vec2 center;
vec2 halfSize;