mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
settings page completely moved to xml
This commit is contained in:
parent
9cdf3ff016
commit
b9ea88b988
15 changed files with 111 additions and 107 deletions
|
|
@ -449,7 +449,7 @@ void BlocksRenderer::render(const voxel* voxels) {
|
|||
void BlocksRenderer::build(const Chunk* chunk, const ChunksStorage* chunks) {
|
||||
this->chunk = chunk;
|
||||
voxelsBuffer->setPosition(chunk->x * CHUNK_W - 1, 0, chunk->z * CHUNK_D - 1);
|
||||
chunks->getVoxels(voxelsBuffer, settings.graphics.backlight);
|
||||
chunks->getVoxels(voxelsBuffer, settings.graphics.backlight.get());
|
||||
overflow = false;
|
||||
vertexOffset = 0;
|
||||
indexOffset = indexSize = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue