summaryrefslogtreecommitdiff
path: root/src/chunk.hpp
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2022-09-26 14:08:40 -0400
committerTyler Murphy <tylermurphy534@gmail.com>2022-09-26 14:08:40 -0400
commit7332c3e56ad51c05aa9f7779feb4d79364e7c513 (patch)
tree90eb13730789db492b4a3c8d4be8462cd1512361 /src/chunk.hpp
parentfixed chunk meshing due to using unsigned int (diff)
downloadminecraftvulkan-7332c3e56ad51c05aa9f7779feb4d79364e7c513.tar.gz
minecraftvulkan-7332c3e56ad51c05aa9f7779feb4d79364e7c513.tar.bz2
minecraftvulkan-7332c3e56ad51c05aa9f7779feb4d79364e7c513.zip
undo nearest neighbor
Diffstat (limited to '')
-rw-r--r--src/chunk.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/chunk.hpp b/src/chunk.hpp
index 4c6101c..d10adc9 100644
--- a/src/chunk.hpp
+++ b/src/chunk.hpp
@@ -14,6 +14,7 @@
#define INVALID 0
#define AIR 1
#define DIRT 2
+#define GRASS 3
namespace app {
@@ -110,12 +111,12 @@ const float nm[6][3] = {
const float uv[6][2] = {
+ {1.f,0.f},
{1.f,1.f},
{0.f,1.f},
+ {0.f,1.f},
{0.f,0.f},
- {0.f,0.f},
- {1.f,0.f},
- {1.f,1.f}
+ {1.f,0.f}
};
} \ No newline at end of file