Comments
parent
c17914b2c8
commit
148d5e4116
|
@ -4,6 +4,7 @@
|
|||
#include "../../util/profiling.h"
|
||||
|
||||
namespace {
|
||||
// Table of indices for vertices of cube faces
|
||||
// 2-----3
|
||||
// | |
|
||||
// | |
|
||||
|
|
|
@ -303,7 +303,7 @@ void build_regular_mesh(
|
|||
// Prepare vertex reuse cache
|
||||
cache.reset_reuse_cells(block_size_with_padding);
|
||||
|
||||
// We iterate 2x2 voxel groups, which the paper calls "cells".
|
||||
// We iterate 2x2x2 voxel groups, which the paper calls "cells".
|
||||
// We also reach one voxel further to compute normals, so we adjust the iterated area
|
||||
const Vector3i min_pos = Vector3i(MIN_PADDING);
|
||||
const Vector3i max_pos = block_size_with_padding - Vector3i(MAX_PADDING);
|
||||
|
|
Loading…
Reference in New Issue