add TextNote

This commit is contained in:
MihailRis
2024-11-13 11:46:39 +03:00
parent 7b4ddfd278
commit db565d23a7
4 changed files with 108 additions and 19 deletions
+10
View File
@@ -28,6 +28,7 @@ class DrawContext;
class ModelBatch;
class Assets;
class Emitter;
class TextNote;
struct EngineSettings;
namespace model {
@@ -92,6 +93,15 @@ class WorldRenderer {
float fogFactor
);
void renderText(
const TextNote& note,
const DrawContext& context,
const Assets& assets,
const Camera& camera,
const EngineSettings& settings,
bool hudVisible
);
void renderTexts(
const DrawContext& context,
const Camera& camera,