Recipe fixes, replaced spaces with tabs
This commit is contained in:
parent
5ca6a92dd0
commit
d8de624fd1
60 changed files with 1816 additions and 1851 deletions
|
@ -220,7 +220,7 @@ public class OBJBlockModel implements UnbakedModel, BakedModel {
|
|||
if (member.contains("/")) {
|
||||
String[] sub = member.split("/");
|
||||
vertexIndex.add(Integer.parseInt(sub[0]) - 1); // Vertex
|
||||
uvIndex.add(Integer.parseInt(sub[1]) - 1); // UV
|
||||
uvIndex.add(Integer.parseInt(sub[1]) - 1); // UV
|
||||
}
|
||||
else {
|
||||
vertexIndex.add(Integer.parseInt(member) - 1); // Vertex
|
||||
|
|
|
@ -55,7 +55,7 @@ public class UnbakedQuad {
|
|||
float z = data[dataIndex++]; // Z
|
||||
POS.set(x, y, z, 0);
|
||||
POS.transform(matrix);
|
||||
vertexData[index] = Float.floatToIntBits(POS.x()); // X
|
||||
vertexData[index] = Float.floatToIntBits(POS.x()); // X
|
||||
vertexData[index | 1] = Float.floatToIntBits(POS.y()); // Y
|
||||
vertexData[index | 2] = Float.floatToIntBits(POS.z()); // Z
|
||||
vertexData[index | 3] = -1; // Unknown constant
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue