diff options
| author | Kai Stevenson <kai@kaistevenson.com> | 2026-08-15 14:17:28 -0700 |
|---|---|---|
| committer | Kai Stevenson <kai@kaistevenson.com> | 2026-08-15 14:17:28 -0700 |
| commit | c94749cc88080ef7fef7b285f9072ea26d18e1eb (patch) | |
| tree | ba20a6e1fe918934c94a4e5c3f7370d6c6ce97d8 /src/sim/chunk.rs | |
| parent | b510f5fcf5335c5e26d65ca96d7ec16c2f050f5d (diff) | |
wip, working with native resolution
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 cf4179a..1980932 100644 --- a/src/sim/chunk.rs +++ b/src/sim/chunk.rs @@ -6,6 +6,7 @@ use crate::{ pub struct Chunk { pub cells: Box<[Cell; CELLS_IN_CHUNK as usize]>, pub sleeping: bool, + pub needs_texture_update: bool, } impl Chunk { @@ -22,6 +23,7 @@ impl Chunk { Chunk { cells: Box::new([Cell::void(); CELLS_IN_CHUNK]), sleeping: true, + needs_texture_update: true, } } } |
