Skip to content
Permalink
Browse files

Fix texture glitches for plants with visual scale > 1.0 (jungle grass).

  • Loading branch information
RealBadAngel committed Jul 17, 2014
1 parent 61088b1 commit 625489dff4cf7d97f49035f5e490476ced42e38f
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/content_mapblock.cpp
@@ -1119,12 +1119,12 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
if(j == 0)
{
for(u16 i=0; i<4; i++)
vertices[i].Pos.rotateXZBy(45);
vertices[i].Pos.rotateXZBy(46);
}
else if(j == 1)
{
for(u16 i=0; i<4; i++)
vertices[i].Pos.rotateXZBy(-45);
vertices[i].Pos.rotateXZBy(-44);
}

for(u16 i=0; i<4; i++)

0 comments on commit 625489d

Please sign in to comment.