Skip to content
Permalink
Browse files

Fix flipped textures for drawtype "glasslike"

  • Loading branch information
sapier sapier
sapier authored and sapier committed Jul 16, 2014
1 parent 65b8b52 commit 9a016a6294f289e1687b9a4655ea3f02f2208201
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/content_mapblock.cpp
@@ -710,10 +710,10 @@ void mapblock_mesh_generate_special(MeshMakeData *data,

// The face at Z+
video::S3DVertex vertices[4] = {
video::S3DVertex(-BS/2,-BS/2,BS/2, 0,0,0, c, 0,1),
video::S3DVertex(BS/2,-BS/2,BS/2, 0,0,0, c, 1,1),
video::S3DVertex(BS/2,BS/2,BS/2, 0,0,0, c, 1,0),
video::S3DVertex(-BS/2,BS/2,BS/2, 0,0,0, c, 0,0),
video::S3DVertex(-BS/2,-BS/2,BS/2, 0,0,0, c, 1,1),
video::S3DVertex(BS/2,-BS/2,BS/2, 0,0,0, c, 0,1),
video::S3DVertex(BS/2,BS/2,BS/2, 0,0,0, c, 0,0),
video::S3DVertex(-BS/2,BS/2,BS/2, 0,0,0, c, 1,0),
};

// Rotations in the g_6dirs format

0 comments on commit 9a016a6

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