fixed broken len calcuation
This commit is contained in:
1 parent
f1a91b1404
commit
6819698d29
1 file changed
+2
-2
@@ -122,8 +122,8 @@ impl Renderer<'_> {
|
||||
}
|
||||
|
||||
pub fn render(&mut self, camera: &Camera, snapshot: bool) {
|
||||
// at level 0 I want 2, and should increase respective to bits needed for positioning
|
||||
self.len = (camera.zoom.level() / 32) as usize + 2;
|
||||
// at level 0 I want 3, and should increase respective to bits needed for positioning
|
||||
self.len = (camera.zoom.level() / 32) as usize + 3;
|
||||
|
||||
self.compute_pipeline.update(
|
||||
&self.device,
|
||||
|
||||
Reference in new issue
Block a user