diff options
| author | Kai Stevenson <kai@kaistevenson.com> | 2026-08-13 21:31:53 -0700 |
|---|---|---|
| committer | Kai Stevenson <kai@kaistevenson.com> | 2026-08-13 21:31:53 -0700 |
| commit | 69f0407637a071d79d73115e4ae9c0ab526066a7 (patch) | |
| tree | c22f8fa6e761985a70d86ad023b54fc374f6f6a3 /src/sim/chunk.rs | |
| parent | feefeecec6c6050635b2c016452dfa1529575987 (diff) | |
parallelization
Diffstat (limited to 'src/sim/chunk.rs')
| -rw-r--r-- | src/sim/chunk.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sim/chunk.rs b/src/sim/chunk.rs index 154cf82..cf4179a 100644 --- a/src/sim/chunk.rs +++ b/src/sim/chunk.rs @@ -5,6 +5,7 @@ use crate::{ pub struct Chunk { pub cells: Box<[Cell; CELLS_IN_CHUNK as usize]>, + pub sleeping: bool, } impl Chunk { @@ -20,6 +21,7 @@ impl Chunk { pub fn void() -> Self { Chunk { cells: Box::new([Cell::void(); CELLS_IN_CHUNK]), + sleeping: true, } } } |
