From: RealBadAngel Date: Thu, 17 Jul 2014 12:10:23 +0000 (+0200) Subject: Fix texture glitches for plants with visual scale > 1.0 (jungle grass). X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=625489dff4cf7d97f49035f5e490476ced42e38f;p=zefram%2Fminetest%2Fminetest_engine.git Fix texture glitches for plants with visual scale > 1.0 (jungle grass). --- diff --git a/src/content_mapblock.cpp b/src/content_mapblock.cpp index ffdb5ad0..32e80c29 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++)