forked from oerkki/voxelands
stfu menche pt2
This commit is contained in:
parent
cab27d2da3
commit
52ec93b116
|
@ -5254,8 +5254,9 @@ void meshgen_flaglike(MeshMakeData *data, v3s16 p, MapNode &n, SelectedNode &sel
|
|||
if (selected.is_coloured || selected.has_crack) {
|
||||
float os[2] = {0.01,-0.01};
|
||||
for (u16 k=0; k<2; k++) {
|
||||
video::S3DVertex *v = vertices;
|
||||
video::S3DVertex v[4];
|
||||
for (u16 i=0; i<4; i++) {
|
||||
v[i] = vertices[i];
|
||||
v[i].Pos.Z += os[k];
|
||||
v[i].Pos.rotateXZBy(angle);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue