Unused variables
This commit is contained in:
parent
ae8a6c041f
commit
3f25899cdf
@ -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);
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user