mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
refactor
This commit is contained in:
parent
e9163f4228
commit
f0b6521c76
10 changed files with 186 additions and 170 deletions
|
|
@ -9,24 +9,22 @@ class TextNote;
|
|||
struct EngineSettings;
|
||||
|
||||
class TextsRenderer {
|
||||
const Frustum* frustum;
|
||||
Batch3D& batch;
|
||||
const Assets& assets;
|
||||
const Frustum& frustum;
|
||||
|
||||
void renderText(
|
||||
Batch3D& batch,
|
||||
const TextNote& note,
|
||||
const DrawContext& context,
|
||||
const Assets& assets,
|
||||
const Camera& camera,
|
||||
const EngineSettings& settings,
|
||||
bool hudVisible
|
||||
);
|
||||
public:
|
||||
TextsRenderer(const Frustum* frustum);
|
||||
TextsRenderer(Batch3D& batch, const Assets& assets, const Frustum& frustum);
|
||||
|
||||
void renderTexts(
|
||||
Batch3D& batch,
|
||||
const DrawContext& context,
|
||||
const Assets& assets,
|
||||
const Camera& camera,
|
||||
const EngineSettings& settings,
|
||||
bool hudVisible,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue