mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-21 01:49:44 +00:00
add entity to TextNote
This commit is contained in:
parent
767fa7c7a9
commit
dc29f65fa8
5 changed files with 39 additions and 5 deletions
|
|
@ -12,8 +12,10 @@ class Batch3D;
|
|||
class Frustum;
|
||||
class TextNote;
|
||||
struct EngineSettings;
|
||||
class Level;
|
||||
|
||||
class TextsRenderer {
|
||||
const Level& level;
|
||||
Batch3D& batch;
|
||||
const Assets& assets;
|
||||
const Frustum& frustum;
|
||||
|
|
@ -31,7 +33,12 @@ class TextsRenderer {
|
|||
bool projected
|
||||
);
|
||||
public:
|
||||
TextsRenderer(Batch3D& batch, const Assets& assets, const Frustum& frustum);
|
||||
TextsRenderer(
|
||||
const Level& level,
|
||||
Batch3D& batch,
|
||||
const Assets& assets,
|
||||
const Frustum& frustum
|
||||
);
|
||||
|
||||
void render(
|
||||
const DrawContext& context,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue