aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/lodmod/renderer/Mesh.java
diff options
context:
space:
mode:
authormakamys <makamys@outlook.com>2021-05-09 05:13:23 +0200
committermakamys <makamys@outlook.com>2021-05-09 05:13:23 +0200
commitf40313f7e51752cd12460527cd68bc7e296b25d2 (patch)
treeccfd36a0a0ac6349b8ed7c9eba3224e3077c0a42 /src/main/java/makamys/lodmod/renderer/Mesh.java
parent755b8d196a63332fbb32da6f3500fbd67dedadeb (diff)
downloadNeodymium-f40313f7e51752cd12460527cd68bc7e296b25d2.tar.gz
Neodymium-f40313f7e51752cd12460527cd68bc7e296b25d2.tar.bz2
Neodymium-f40313f7e51752cd12460527cd68bc7e296b25d2.zip
press G to sort
Diffstat (limited to 'src/main/java/makamys/lodmod/renderer/Mesh.java')
-rw-r--r--src/main/java/makamys/lodmod/renderer/Mesh.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/makamys/lodmod/renderer/Mesh.java b/src/main/java/makamys/lodmod/renderer/Mesh.java
index 0f429ec..4775991 100644
--- a/src/main/java/makamys/lodmod/renderer/Mesh.java
+++ b/src/main/java/makamys/lodmod/renderer/Mesh.java
@@ -3,6 +3,7 @@ package makamys.lodmod.renderer;
import java.nio.ByteBuffer;
import java.nio.IntBuffer;
+import net.minecraft.entity.Entity;
import net.minecraft.nbt.NBTBase;
public abstract class Mesh {
@@ -13,6 +14,8 @@ public abstract class Mesh {
public boolean pendingGPUDelete;
public int iFirst = -1, iCount = -1;
public int offset = -1;
+ public int pass;
public abstract int getStride();
+ public abstract double distSq(Entity player);
}