Skip to content
Permalink
Browse files

Allow full circle rotation with 2degs step for plantlike drawtype.

  • Loading branch information
RealBadAngel committed Jul 24, 2014
1 parent 9dc8901 commit 3bf05f020c4ed7b89ab4eb36dde9dc96c4f6811a
Showing with 2 additions and 2 deletions.
  1. +2 −2 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++)

0 comments on commit 3bf05f0

Please sign in to comment.
You can’t perform that action at this time.