Skip to content

Commit

Permalink
Fixed stairs textures being slightly off
Browse files Browse the repository at this point in the history
  • Loading branch information
EpicSquid committed May 18, 2019
1 parent fa01560 commit 69f1a17
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,10 @@ public Vec3d apply(Vec3d arg0) {
e_down_pxnz = ModelUtil.makeCube(format, 0.5, 0, 0, 0.5, 0.5, 0.5, null, texes, tintIndex);
e_down_pxpz = ModelUtil.makeCube(format, 0.5, 0, 0.5, 0.5, 0.5, 0.5, null, texes, tintIndex);
e_down_nxpz = ModelUtil.makeCube(format, 0, 0, 0.5, 0.5, 0.5, 0.5, null, texes, tintIndex);
Function<Vec3d, Vec3d> down = t -> t.add(0, -0.5, 0);
c_down_nxnz = ModelUtil.makeCube(format, 0, 0.5, 0, 0.5, 0.5, 0.5, null, texes, down, tintIndex);
c_down_pxnz = ModelUtil.makeCube(format, 0.5, 0.5, 0, 0.5, 0.5, 0.5, null, texes, down, tintIndex);
c_down_pxpz = ModelUtil.makeCube(format, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, null, texes, down, tintIndex);
c_down_nxpz = ModelUtil.makeCube(format, 0, 0.5, 0.5, 0.5, 0.5, 0.5, null, texes, down, tintIndex);
c_down_nxnz = ModelUtil.makeCube(format, 0, 0, 0, 0.5, 0.5, 0.5, null, texes, tintIndex);
c_down_pxnz = ModelUtil.makeCube(format, 0.5, 0, 0, 0.5, 0.5, 0.5, null, texes, tintIndex);
c_down_pxpz = ModelUtil.makeCube(format, 0.5, 0, 0.5, 0.5, 0.5, 0.5, null, texes, tintIndex);
c_down_nxpz = ModelUtil.makeCube(format, 0, 0, 0.5, 0.5, 0.5, 0.5, null, texes, tintIndex);
if (half == EnumHalf.BOTTOM) {
if (shape == EnumShape.STRAIGHT) {
switch (face) {
Expand Down

0 comments on commit 69f1a17

Please sign in to comment.