mirror of
https://github.com/moparisthebest/minetest
synced 2024-12-23 16:08:51 -05:00
Fix mirrored sign texture
This commit is contained in:
parent
e81989a0d8
commit
123529e5eb
@ -722,14 +722,14 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
|
|||||||
// Wall at X+ of node
|
// Wall at X+ of node
|
||||||
video::S3DVertex vertices[4] =
|
video::S3DVertex vertices[4] =
|
||||||
{
|
{
|
||||||
video::S3DVertex(BS/2-d,-BS/2,-BS/2, 0,0,0, c,
|
|
||||||
ap.x0(), ap.y1()),
|
|
||||||
video::S3DVertex(BS/2-d,-BS/2,BS/2, 0,0,0, c,
|
|
||||||
ap.x1(), ap.y1()),
|
|
||||||
video::S3DVertex(BS/2-d,BS/2,BS/2, 0,0,0, c,
|
video::S3DVertex(BS/2-d,BS/2,BS/2, 0,0,0, c,
|
||||||
ap.x1(), ap.y0()),
|
|
||||||
video::S3DVertex(BS/2-d,BS/2,-BS/2, 0,0,0, c,
|
|
||||||
ap.x0(), ap.y0()),
|
ap.x0(), ap.y0()),
|
||||||
|
video::S3DVertex(BS/2-d,BS/2,-BS/2, 0,0,0, c,
|
||||||
|
ap.x1(), ap.y0()),
|
||||||
|
video::S3DVertex(BS/2-d,-BS/2,-BS/2, 0,0,0, c,
|
||||||
|
ap.x1(), ap.y1()),
|
||||||
|
video::S3DVertex(BS/2-d,-BS/2,BS/2, 0,0,0, c,
|
||||||
|
ap.x0(), ap.y1()),
|
||||||
};
|
};
|
||||||
|
|
||||||
v3s16 dir = unpackDir(n.param2);
|
v3s16 dir = unpackDir(n.param2);
|
||||||
|
Loading…
Reference in New Issue
Block a user