mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
remove an extra check
This commit is contained in:
parent
9a68886cd5
commit
9edff1b0f1
1 changed files with 1 additions and 1 deletions
|
|
@ -308,7 +308,7 @@ void BlocksRenderer::blockCustomModel(
|
|||
const auto& v0 = mesh.vertices[triangle * 3];
|
||||
auto n = v0.normal.x * X + v0.normal.y * Y + v0.normal.z * Z;
|
||||
|
||||
if (!isOpen(glm::floor(coord + n * 1e-4f), *block) && is_aligned(r) && is_aligned(n)) {
|
||||
if (!isOpen(glm::floor(coord + n * 1e-4f), *block) && is_aligned(n)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue