We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52cb14b commit d6d18bcCopy full SHA for d6d18bc
src/data_structure.rs
@@ -48,7 +48,7 @@ pub enum VdbLevel {
48
impl VdbLevel {
49
pub fn scale(self) -> f32 {
50
match self {
51
- VdbLevel::Node4 => (1 << 4) as f32,
+ VdbLevel::Node4 => (1 << (4 + 3)) as f32,
52
VdbLevel::Node3 => (1 << 3) as f32,
53
VdbLevel::Voxel => 1.0,
54
}
0 commit comments