[K4] Aufräumen: tote TS-Funktionen und Bindungen gelöscht, Höhenregeln/JS-Helfer im Kern zusammengelegt
Gelöscht: vertikale Ausdehnungen in model/wall.ts und geometry/opening.ts (ohne Aufrufer seit dem Schnitt-Port), weitere ungenutzte Exporte (types.ts, ceiling.ts, glPlan, toWalls3d, truckSolid, meshImport, bulge, planView) und die Bindungen doc_query, core_version, drawing3d_*, bulge_between_angles, scatter_strokes_flat. Rust: model/helpers.rs::heights für typisierte Sicht und rohe Wurzel, truthy/or_zero/js_string/arr je einmal.
This commit is contained in:
38 files changed
+125
-505
No files matched your search
@@ -30,13 +30,7 @@ use crate::model::{Project, SiaCategory};
|
||||
|
||||
pub const DEFAULT_TOLERANCE: f64 = 0.05;
|
||||
|
||||
fn finite(v: f64) -> f64 {
|
||||
if v.is_finite() {
|
||||
v
|
||||
} else {
|
||||
0.0
|
||||
}
|
||||
}
|
||||
use crate::jsnum::or_zero as finite;
|
||||
|
||||
fn cat_name(c: SiaCategory) -> &'static str {
|
||||
match c {
|
||||
|
||||
Reference in new issue
Block a user