Refactor structure, implement layers, add Erode/Fill/layer panel
- Restructure folder hierarchy: max 4 .rs per dir using subfolders (ops/operations -> brush/ + shaping/, model/ -> world/, io/* -> subtypes, etc.) - Fix golden_test.rs comment, extract BrushApply helper, add World::with_heightmap - Implement 6 layer data generators (Caves, River, Frost, Trees, Biome, Resources) with noise-based (OpenSimplex) and terrain-derived algorithms - Fix clippy warnings, dead code cleanup, import path fixes - GUI: add Erode&Fill tool modes with radio buttons/sliders/apply_tool - GUI: add Layers panel with 6 checkboxes + CPU viewport overlay rendering
This commit is contained in:
parent
3d3798136d
commit
bdd4564240
104 changed files with 5184 additions and 3912 deletions
|
|
@ -3,8 +3,7 @@ use std::sync::Arc;
|
|||
use criterion::{Criterion, black_box, criterion_group, criterion_main};
|
||||
|
||||
use terrafier_core::io::export::render_to_image;
|
||||
use terrafier_core::model::brush::SymmetricBrush;
|
||||
use terrafier_core::model::terrain::Terrain;
|
||||
use terrafier_core::model::types::{SymmetricBrush, Terrain};
|
||||
use terrafier_core::model::world::World;
|
||||
use terrafier_core::ops::operations::{HeightOperation, Operation, PaintOperation};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue