Enhance CLI functionality with palette support and update exporters to use BlockPalette

This commit is contained in:
2026-03-23 01:21:21 +01:00
parent 1893b3427f
commit 484415870a
12 changed files with 149 additions and 29 deletions

View File

@@ -12,6 +12,7 @@ pub use font::FontProvider;
pub use fonts::ttf_font::TtfFont;
pub use grid::VoxelGrid;
pub use models::VoxelType;
pub use palette::BlockPalette;
pub trait StructureExporter {
fn export(&self, grid: &VoxelGrid) -> anyhow::Result<Vec<u8>>;