Fix chunk meshing

Former-commit-id: d3a53602e4b480ab9db0a2a98e25cbba5081b624
This commit is contained in:
robojumper 2019-05-13 00:46:36 +02:00 committed by Joshua Barretto
parent f600eca072
commit ba10ca38ba

View File

@ -75,7 +75,7 @@ impl<S: VolSize + Clone, M: Clone> Meshable for VolMap<Block, S, M> {
vol::push_vox_verts( vol::push_vox_verts(
&mut mesh, &mut mesh,
self, self,
pos, range.min + pos,
offs, offs,
col, col,
TerrainVertex::new, TerrainVertex::new,
@ -92,7 +92,7 @@ impl<S: VolSize + Clone, M: Clone> Meshable for VolMap<Block, S, M> {
vol::push_vox_verts( vol::push_vox_verts(
&mut mesh, &mut mesh,
self, self,
pos, range.min + pos,
offs, offs,
col, col,
TerrainVertex::new, TerrainVertex::new,