mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
optimize (part 2)
This commit is contained in:
parent
99f1594645
commit
1ff89491e6
3 changed files with 41 additions and 33 deletions
|
|
@ -590,7 +590,7 @@ SortingMeshData BlocksRenderer::renderTranslucent(
|
|||
|
||||
// additional powerful optimization
|
||||
auto size = aabb.size();
|
||||
if (glm::abs(size.y) < 0.01f && sortingMesh.entries.size() > 1 && false) {
|
||||
if (glm::abs(size.y) < 0.01f && sortingMesh.entries.size() > 1) {
|
||||
SortingMeshEntry newEntry {
|
||||
sortingMesh.entries[0].position,
|
||||
util::Buffer<float>(totalSize)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue