This commit is contained in:
2024-11-07 23:47:38 -05:00
parent 00468aa18d
commit 33fa18fe97
8 changed files with 33 additions and 9 deletions

View File

@@ -21,7 +21,7 @@ impl Default for PhosCamera {
max_height: 420.,
speed: 100.,
pan_speed: Vec2::new(0.8, 0.5),
zoom_speed: 20.,
zoom_speed: 200.,
min_angle: (20. as f32).to_radians(),
max_angle: 1.,
}

View File

@@ -47,6 +47,7 @@ pub fn paint_chunk(
let tile_handle = mapper.unwrap().sample_tile(height);
let tile = tiles.get(tile_handle).unwrap();
chunk.textures[idx] = [tile.texture_id, tile.side_texture_id];
chunk.overlay_textures[idx] = tile.side_overlay_id;
}
}
}