aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormakamys <makamys@outlook.com>2022-06-23 00:51:21 +0200
committermakamys <makamys@outlook.com>2022-06-23 00:51:21 +0200
commitcd9b11b4f3c6f32f0c4182ea9143d0521a11d220 (patch)
tree03abac55c3c2292fdc67e7aef1abc9e11e867924 /src
parent1536f57485a2e79bd694bf212fb000205c7580c8 (diff)
downloadNeodymium-cd9b11b4f3c6f32f0c4182ea9143d0521a11d220.tar.gz
Neodymium-cd9b11b4f3c6f32f0c4182ea9143d0521a11d220.tar.bz2
Neodymium-cd9b11b4f3c6f32f0c4182ea9143d0521a11d220.zip
Remove unused ChunkMesh constructor
Diffstat (limited to 'src')
-rw-r--r--src/main/java/makamys/neodymium/renderer/ChunkMesh.java13
1 files changed, 0 insertions, 13 deletions
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<MeshQuad> 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<MeshQuad> quads, int pass) {
this.x = x;
this.y = y;