Unused variables

This commit is contained in:
Marc Gilleron 2022-05-07 22:26:23 +01:00
parent ae8a6c041f
commit 3f25899cdf
2 changed files with 0 additions and 2 deletions

View File

@ -558,7 +558,6 @@ void generate_mesh_sdf_approx_interp(Span<float> 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);

View File

@ -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<gd::VoxelBuffer> vbgd;
vbgd.instantiate();