mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
trackbar track-width semantic update + gamma setting trackbar
This commit is contained in:
parent
b1a79e3a6e
commit
8be0d157c2
11 changed files with 30 additions and 26 deletions
|
|
@ -4,6 +4,7 @@
|
|||
#include "../../graphics/core/Mesh.hpp"
|
||||
#include "../../voxels/Chunk.h"
|
||||
#include "../../world/Level.h"
|
||||
#include "../../settings.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <glm/glm.hpp>
|
||||
|
|
@ -20,7 +21,7 @@ public:
|
|||
RendererWorker(
|
||||
Level* level,
|
||||
const ContentGfxCache* cache,
|
||||
const EngineSettings& settings
|
||||
const EngineSettings* settings
|
||||
) : level(level),
|
||||
renderer(RENDERER_CAPACITY, level->content, cache, settings)
|
||||
{}
|
||||
|
|
@ -34,7 +35,7 @@ public:
|
|||
ChunksRenderer::ChunksRenderer(
|
||||
Level* level,
|
||||
const ContentGfxCache* cache,
|
||||
const EngineSettings& settings
|
||||
const EngineSettings* settings
|
||||
) : level(level),
|
||||
threadPool(
|
||||
"chunks-render-pool",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue