Skip to content

Commit 979b90b

Browse files
authored
Fix Special VertexLighters (#2843)
1 parent c8a316f commit 979b90b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/main/java/gregtech/client/model/pipeline/VertexLighterFlatSpecial.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -170,16 +170,6 @@ protected void processQuad() {
170170
tint = -1;
171171
}
172172

173-
// This was copied over from VertexLighterFlat because the tint parameter shouldn't be a float
174-
protected static void updateColor(float[] normal, float[] color, float x, float y, float z, int tint,
175-
int multiplier) {
176-
if (tint != -1) {
177-
color[0] *= (float) (multiplier >> 0x10 & 0xFF) / 0xFF;
178-
color[1] *= (float) (multiplier >> 0x8 & 0xFF) / 0xFF;
179-
color[2] *= (float) (multiplier & 0xFF) / 0xFF;
180-
}
181-
}
182-
183173
@Override
184174
public void setQuadTint(int tint) {
185175
this.tint = tint;

0 commit comments

Comments
 (0)