Created
January 22, 2015 23:45
-
-
Save kahrl/a7fb4ad0ae4a3d760739 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/content_mapblock.cpp b/src/content_mapblock.cpp | |
index b84b696..ec92c50 100644 | |
--- a/src/content_mapblock.cpp | |
+++ b/src/content_mapblock.cpp | |
@@ -764,10 +764,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, 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), | |
+ video::S3DVertex(-BS/2,-BS/2,BS/2, 0,0,-1, c, 1,1), | |
+ video::S3DVertex(BS/2,-BS/2,BS/2, 0,0,-1, c, 0,1), | |
+ video::S3DVertex(BS/2,BS/2,BS/2, 0,0,-1, c, 0,0), | |
+ video::S3DVertex(-BS/2,BS/2,BS/2, 0,0,-1, c, 1,0), | |
}; | |
// Rotations in the g_6dirs format |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment