diff --git a/meshers/cubes/voxel_mesher_cubes.cpp b/meshers/cubes/voxel_mesher_cubes.cpp index 43a1fd56..ef72043d 100644 --- a/meshers/cubes/voxel_mesher_cubes.cpp +++ b/meshers/cubes/voxel_mesher_cubes.cpp @@ -4,6 +4,7 @@ #include "../../util/profiling.h" namespace { +// Table of indices for vertices of cube faces // 2-----3 // | | // | | diff --git a/meshers/transvoxel/transvoxel.cpp b/meshers/transvoxel/transvoxel.cpp index 0de23066..dada61e6 100644 --- a/meshers/transvoxel/transvoxel.cpp +++ b/meshers/transvoxel/transvoxel.cpp @@ -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);