Skip to content

Commit 625489d

Browse files
committedJul 17, 2014
Fix texture glitches for plants with visual scale > 1.0 (jungle grass).
1 parent 61088b1 commit 625489d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/content_mapblock.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1119,12 +1119,12 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
11191119
if(j == 0)
11201120
{
11211121
for(u16 i=0; i<4; i++)
1122-
vertices[i].Pos.rotateXZBy(45);
1122+
vertices[i].Pos.rotateXZBy(46);
11231123
}
11241124
else if(j == 1)
11251125
{
11261126
for(u16 i=0; i<4; i++)
1127-
vertices[i].Pos.rotateXZBy(-45);
1127+
vertices[i].Pos.rotateXZBy(-44);
11281128
}
11291129

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

0 commit comments

Comments
 (0)
Please sign in to comment.