mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
optimize a bit
This commit is contained in:
parent
5240fe6226
commit
bd4a5ef7fc
3 changed files with 46 additions and 51 deletions
|
|
@ -12,8 +12,6 @@
|
|||
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
#include "util/timeutil.hpp"
|
||||
|
||||
const glm::vec3 BlocksRenderer::SUN_VECTOR (0.411934f, 0.863868f, -0.279161f);
|
||||
|
||||
BlocksRenderer::BlocksRenderer(
|
||||
|
|
@ -607,7 +605,7 @@ SortingMeshData BlocksRenderer::renderTranslucent(
|
|||
return sortingMesh;
|
||||
}
|
||||
|
||||
void BlocksRenderer::build(const Chunk* chunk, const Chunks* chunks) {;
|
||||
void BlocksRenderer::build(const Chunk* chunk, const Chunks* chunks) {
|
||||
this->chunk = chunk;
|
||||
voxelsBuffer->setPosition(
|
||||
chunk->x * CHUNK_W - voxelBufferPadding, 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue