Add stray overlay texture and fix a small bug with planerenderer

This commit is contained in:
Matthew Messinger 2016-07-13 22:57:11 -04:00
parent 453b5e2156
commit ffb39c2269
2 changed files with 3 additions and 3 deletions

View file

@ -115,9 +115,9 @@ public class PlaneRenderer extends ModelRenderer {
f -= f3; f -= f3;
f1 -= f3; f1 -= f3;
f2 -= f3; f2 -= f3;
f4 += f3; f4 += f < 0 ? -f3 : f3;
f5 += f3; f5 += f1 < 0 ? -f3 : f3;
f6 += f3; f6 += f2 < 0 ? -f3 : f3;
if (this.mirror) { if (this.mirror) {
float positiontexturevertex = f4; float positiontexturevertex = f4;
f4 = f; f4 = f;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1,017 B

After

Width:  |  Height:  |  Size: 947 B