mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-15 10:25:06 -04:00
models: basic culling
This commit is contained in:
parent
0bf2fd1b20
commit
cb52d57812
@ -38,6 +38,7 @@ class BakedModel(
|
||||
var rendered = true
|
||||
|
||||
for ((index, faces) in faces.withIndex()) {
|
||||
if (neighbours[index] != null) continue // TODO
|
||||
for (face in faces) {
|
||||
face.render(array, mesh, light, tints)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user