Skip to content
Snippets Groups Projects
Commit 625489df authored by RealBadAngel's avatar RealBadAngel
Browse files

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

parent 61088b16
No related branches found
No related tags found
No related merge requests found
...@@ -1119,12 +1119,12 @@ void mapblock_mesh_generate_special(MeshMakeData *data, ...@@ -1119,12 +1119,12 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
if(j == 0) if(j == 0)
{ {
for(u16 i=0; i<4; i++) for(u16 i=0; i<4; i++)
vertices[i].Pos.rotateXZBy(45); vertices[i].Pos.rotateXZBy(46);
} }
else if(j == 1) else if(j == 1)
{ {
for(u16 i=0; i<4; i++) for(u16 i=0; i<4; i++)
vertices[i].Pos.rotateXZBy(-45); vertices[i].Pos.rotateXZBy(-44);
} }
for(u16 i=0; i<4; i++) for(u16 i=0; i<4; i++)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment