#pragma once #include #include "utils/globals.hpp" namespace Nimbin { struct Vertex { Vec3 pos; Vec3 normal; }; struct MeshTri { int a, b, c; }; struct TextMesh { DynArray verts; DynArray vertex_normals; DynArray tris; DynArray is_front; bool build( const std::string& font_path, const std::string& text, int size = 64, float depth = 0.4f, float scale = 0.003f ); }; } // namespace Nimbin