From 3f25899cdf281a36b962bfb9a01877533e7184c7 Mon Sep 17 00:00:00 2001 From: Marc Gilleron Date: Sat, 7 May 2022 22:26:23 +0100 Subject: [PATCH] Unused variables --- edition/mesh_sdf.cpp | 1 - edition/voxel_mesh_sdf_gd.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/edition/mesh_sdf.cpp b/edition/mesh_sdf.cpp index 20227f11..ac8e39d9 100644 --- a/edition/mesh_sdf.cpp +++ b/edition/mesh_sdf.cpp @@ -558,7 +558,6 @@ void generate_mesh_sdf_approx_interp(Span sdf_grid, const Vector3i res, S } // Precompute flat-grid neighbor offsets - const unsigned int ni000 = 0; const unsigned int ni100 = Vector3iUtil::get_zxy_index(Vector3i(1, 0, 0), node_grid_size); const unsigned int ni010 = Vector3iUtil::get_zxy_index(Vector3i(0, 1, 0), node_grid_size); const unsigned int ni110 = Vector3iUtil::get_zxy_index(Vector3i(1, 1, 0), node_grid_size); diff --git a/edition/voxel_mesh_sdf_gd.cpp b/edition/voxel_mesh_sdf_gd.cpp index ffe1062e..271034cf 100644 --- a/edition/voxel_mesh_sdf_gd.cpp +++ b/edition/voxel_mesh_sdf_gd.cpp @@ -106,7 +106,6 @@ void VoxelMeshSDF::bake() { const Vector3f box_size = box_max_pos - box_min_pos; const Vector3i res = mesh_sdf::auto_compute_grid_resolution(box_size, _cell_count); - const uint64_t volume = Vector3iUtil::get_volume(res); const VoxelBufferInternal::ChannelId channel = VoxelBufferInternal::CHANNEL_SDF; Ref vbgd; vbgd.instantiate();