projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dc8901
)
Allow full circle rotation with 2degs step for plantlike drawtype.
author
RealBadAngel
<maciej.kasatkin@o2.pl>
Thu, 24 Jul 2014 18:02:20 +0000
(20:02 +0200)
committer
RealBadAngel
<maciej.kasatkin@o2.pl>
Thu, 24 Jul 2014 18:02:20 +0000
(20:02 +0200)
src/content_mapblock.cpp
patch
|
blob
|
history
diff --git
a/src/content_mapblock.cpp
b/src/content_mapblock.cpp
index f12dd11d5b034da3b411614978900a974c33f464..7708d0e76f70675b22e44411298c5cc23a692f1c 100644
(file)
--- 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++)