aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/lodmod/renderer/Mesh.java
blob: 4775991466f343f73e07bddf9d2b5acbac25678b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 {
	
	public ByteBuffer buffer;
	public int quadCount;
	public boolean visible;
	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);
}