Skip to content

Commit

Permalink
Some more adjustments for model part culling
Browse files Browse the repository at this point in the history
  • Loading branch information
Thutmose committed Nov 14, 2022
1 parent 038fcd3 commit bcadfa1
Show file tree
Hide file tree
Showing 3 changed files with 698 additions and 696 deletions.
6 changes: 0 additions & 6 deletions src/main/java/thut/core/client/render/model/parts/Mesh.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public abstract class Mesh

public static float windowScale = 1;
public static int verts = 0;
public static double maxVerts = 1e5;
public static double modelCullThreshold = 0;

private static final float inv_255 = 1 / 255f;
Expand Down Expand Up @@ -163,11 +162,6 @@ public Mesh(final Integer[] order, final Vertex[] vert, final Vertex[] norm, fin
this.material = new Material("auto:" + this.name);
}

public void scale(float scale)
{
for (Vertex v : this.vertices) v.scale(scale);
}

private final Vector3f dummy3 = new Vector3f();
private final Vector3f dummy_1 = new Vector3f();
private final Vector4f dummy4 = new Vector4f();
Expand Down
Loading

0 comments on commit bcadfa1

Please sign in to comment.