diff options
author | RealBadAngel <maciej.kasatkin@o2.pl> | 2014-07-17 14:10:23 +0200 |
---|---|---|
committer | RealBadAngel <maciej.kasatkin@o2.pl> | 2014-07-17 14:10:23 +0200 |
commit | 625489dff4cf7d97f49035f5e490476ced42e38f (patch) | |
tree | ecd4d2308124bad07c8ff78716197cd97a53dcac /src | |
parent | 61088b16c949b5c546a409720615c3d77195f9d2 (diff) | |
download | minetest-625489dff4cf7d97f49035f5e490476ced42e38f.tar.gz minetest-625489dff4cf7d97f49035f5e490476ced42e38f.tar.bz2 minetest-625489dff4cf7d97f49035f5e490476ced42e38f.zip |
Fix texture glitches for plants with visual scale > 1.0 (jungle grass).
Diffstat (limited to 'src')
-rw-r--r-- | src/content_mapblock.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content_mapblock.cpp b/src/content_mapblock.cpp index ffdb5ad08..32e80c299 100644 --- a/src/content_mapblock.cpp +++ b/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++) |