wip map border

This commit is contained in:
2024-03-31 11:45:22 -04:00
parent 45d4e8cfa0
commit 8e8ac1c79e
3 changed files with 15 additions and 11 deletions

View File

@@ -1,11 +1,13 @@
pub mod prelude {
use crate::hex_utils::HexCoord;
use bevy::math::IVec2;
use bevy::math::{IVec2, UVec2};
use bevy::prelude::Resource;
pub struct GenerationConfig {
pub noise_scale: f64,
pub sea_level: f64,
pub border_size: f32,
pub size: UVec2,
pub layers: Vec<GeneratorLayer>,
}
pub struct GeneratorLayer {