[K3a] Wand-Poche und Decken-Umriss im Grundriss in Rust (plan_walls.rs); TS nur noch Stil und Uebersetzung

This commit is contained in:
karim committed 2026-10-28 00:52:09 +01:00
1 parent 63f653d1c2
commit 8c112b2bc5
7 files changed
+690 -390

No files matched your search

+1
View File
@@ -26,6 +26,7 @@ mod wall_mesh_cut;
mod plan_buf;
mod gpu_compile;
mod plan_stairs;
mod plan_walls;
mod hatch;
use wasm_bindgen::prelude::wasm_bindgen;
+15
View File
@@ -0,0 +1,15 @@
//! Bindungen von Wand-Poché und Decken-Umriss im Grundriss (`crate::plan_walls`). Layout s. dort.
use wasm_bindgen::prelude::wasm_bindgen;
/// Wand-Poché-Geometrie einer Wand; Unsinn → leer.
#[wasm_bindgen]
pub fn plan_wall_poche_flat(buf: &[f64]) -> Vec<f64> {
crate::plan_walls::wall_poche(buf)
}
/// Freie Teilstücke eines Decken-Umrisses gegen Wand-Footprints; Unsinn → leer.
#[wasm_bindgen]
pub fn plan_ceiling_outline_flat(buf: &[f64]) -> Vec<f64> {
crate::plan_walls::ceiling_outline(buf)
}