From 4cbfe890cd69e509d68ceeab4f4e6ff8e7e05b88 Mon Sep 17 00:00:00 2001 From: robojumper Date: Mon, 13 May 2019 00:46:36 +0200 Subject: [PATCH] Fix chunk meshing Former-commit-id: d3a53602e4b480ab9db0a2a98e25cbba5081b624 --- voxygen/src/mesh/terrain.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/voxygen/src/mesh/terrain.rs b/voxygen/src/mesh/terrain.rs index 5e670d513a..ff6272e856 100644 --- a/voxygen/src/mesh/terrain.rs +++ b/voxygen/src/mesh/terrain.rs @@ -75,7 +75,7 @@ impl Meshable for VolMap { vol::push_vox_verts( &mut mesh, self, - pos, + range.min + pos, offs, col, TerrainVertex::new, @@ -92,7 +92,7 @@ impl Meshable for VolMap { vol::push_vox_verts( &mut mesh, self, - pos, + range.min + pos, offs, col, TerrainVertex::new,