feat: add text rendering with SDF's
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user