mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
add TextNote
This commit is contained in:
parent
7b4ddfd278
commit
db565d23a7
4 changed files with 108 additions and 19 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue