diff --git a/fidget/src/mesh/cell.rs b/fidget/src/mesh/cell.rs index 2685b74c..1d1e82c7 100644 --- a/fidget/src/mesh/cell.rs +++ b/fidget/src/mesh/cell.rs @@ -21,7 +21,7 @@ impl From for CellData { Cell::Branch { index, thread } => { #[cfg(not(target_arch = "wasm32"))] debug_assert!(index < (1 << 54)); - 0b10 << 62 | ((thread as u64) << 54) | index as u64 + (0b10 << 62) | ((thread as u64) << 54) | index as u64 } Cell::Leaf(Leaf { mask, index }) => { #[cfg(not(target_arch = "wasm32"))]