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