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-Tag: 0.4.11~347 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=625489dff4cf7d97f49035f5e490476ced42e38f;p=oweals%2Fminetest.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 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++)