Skip to content

Commit

Permalink
Break better.
Browse files Browse the repository at this point in the history
  • Loading branch information
gigaherz committed Oct 28, 2019
1 parent 800df7a commit 9fade4e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/main/java/net/minecraftforge/client/model/obj/OBJModel2.java
Expand Up @@ -317,10 +317,10 @@ private BakedQuad makeQuad(int[][] indices, int tintIndex, Vector4f colorTint, T
{
case POSITION:
data[j] = new float[]{
position0.getX(),
position0.getY(),
position0.getZ()
};
position0.getX(),
position0.getY(),
position0.getZ()
};
break;
case COLOR:
data[j] = new float[]{
Expand All @@ -342,8 +342,10 @@ private BakedQuad makeQuad(int[][] indices, int tintIndex, Vector4f colorTint, T
normal0.getY(),
normal0.getZ()
};
break;
case PADDING:
data[j] = new float[e.getElementCount()];
break;
}
}
vertices[i] = data;
Expand Down

0 comments on commit 9fade4e

Please sign in to comment.