edited rendering

This commit is contained in:
maxwes08
2025-09-09 13:31:44 +02:00
parent b6655d71d9
commit ce456b6b26
2 changed files with 5 additions and 5 deletions

View File

@@ -15,14 +15,12 @@ namespace Voxel
public bool NeedsUpdate = false;
public int Length = 0;
private List<FaceData> _faces;
public int SSBO;
public ChunkMesh(int x, int y)
{
_packedData = new byte[0];
X = x;
Y = y;
SSBO = GL.GenBuffer();
}
public void SetFaces(List<FaceData> faces)