models: basic culling

This commit is contained in:
Bixilon 2023-03-29 12:38:33 +02:00
parent 0bf2fd1b20
commit cb52d57812
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4

View File

@ -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)