From cd9b11b4f3c6f32f0c4182ea9143d0521a11d220 Mon Sep 17 00:00:00 2001 From: makamys Date: Thu, 23 Jun 2022 00:51:21 +0200 Subject: Remove unused ChunkMesh constructor --- src/main/java/makamys/neodymium/renderer/ChunkMesh.java | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src') diff --git a/src/main/java/makamys/neodymium/renderer/ChunkMesh.java b/src/main/java/makamys/neodymium/renderer/ChunkMesh.java index f2482ef..2284c6c 100644 --- a/src/main/java/makamys/neodymium/renderer/ChunkMesh.java +++ b/src/main/java/makamys/neodymium/renderer/ChunkMesh.java @@ -43,19 +43,6 @@ public class ChunkMesh extends Mesh { private static RecyclingList quadBuf = new RecyclingList<>(() -> new MeshQuad()); - public ChunkMesh(int x, int y, int z, Flags flags, int quadCount, ByteBuffer buffer, int pass) { - this.x = x; - this.y = y; - this.z = z; - this.flags = flags; - this.quadCount = quadCount; - this.pass = pass; - - this.buffer = buffer; - usedRAM += buffer.limit(); - instances++; - } - public ChunkMesh(int x, int y, int z, Flags flags, int quadCount, List quads, int pass) { this.x = x; this.y = y; -- cgit