Skip to content

Commit d6d18bc

Browse files
Fix scale not using the span log (#59)
1 parent 52cb14b commit d6d18bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data_structure.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pub enum VdbLevel {
4848
impl VdbLevel {
4949
pub fn scale(self) -> f32 {
5050
match self {
51-
VdbLevel::Node4 => (1 << 4) as f32,
51+
VdbLevel::Node4 => (1 << (4 + 3)) as f32,
5252
VdbLevel::Node3 => (1 << 3) as f32,
5353
VdbLevel::Voxel => 1.0,
5454
}

0 commit comments

Comments
 (0)