Skip to content

Commit f79a29f

Browse files
committed
Fix unused variable
1 parent ac6cc63 commit f79a29f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

edition/raycast.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,8 @@ Vector3f get_interpolated_raw_sdf_gradient_4x4x4_p111_t(const VoxelBuffer &vb, c
8282
ZN_ASSERT(vb.get_size() == block_size);
8383

8484
Span<const TSd> sd_data;
85-
ZN_ASSERT(vb.get_channel_data_read_only(VoxelBuffer::CHANNEL_SDF, sd_data));
86-
8785
const VoxelBuffer::ChannelId channel = VoxelBuffer::CHANNEL_SDF;
86+
ZN_ASSERT(vb.get_channel_data_read_only(channel, sd_data));
8887

8988
const Vector3i jump(block_size.y, 1, block_size.y * block_size.x);
9089
const Vector3i p000(1, 1, 1);

0 commit comments

Comments
 (0)