diff options
author | RealBadAngel <maciej.kasatkin@o2.pl> | 2014-07-24 20:02:20 +0200 |
---|---|---|
committer | RealBadAngel <maciej.kasatkin@o2.pl> | 2014-07-24 20:02:20 +0200 |
commit | 3bf05f020c4ed7b89ab4eb36dde9dc96c4f6811a (patch) | |
tree | b5d161c979abe5cc71c9b80de1208f4130392cd8 /src/content_mapblock.cpp | |
parent | 9dc8901e32fcf875c2b3bc52c2dec6b03a29bf37 (diff) | |
download | minetest-3bf05f020c4ed7b89ab4eb36dde9dc96c4f6811a.tar.gz minetest-3bf05f020c4ed7b89ab4eb36dde9dc96c4f6811a.tar.bz2 minetest-3bf05f020c4ed7b89ab4eb36dde9dc96c4f6811a.zip |
Allow full circle rotation with 2degs step for plantlike drawtype.
Diffstat (limited to 'src/content_mapblock.cpp')
-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 f12dd11d5..7708d0e76 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(46 + n.param2); + vertices[i].Pos.rotateXZBy(46 + n.param2 * 2); } else if(j == 1) { for(u16 i=0; i<4; i++) - vertices[i].Pos.rotateXZBy(-44 + n.param2); + vertices[i].Pos.rotateXZBy(-44 + n.param2 * 2); } for(u16 i=0; i<4; i++) |