From 77dd3632b9620ee89a3b06bb2ae2e13e126f7238 Mon Sep 17 00:00:00 2001 From: Willow Sparks Date: Wed, 28 Jan 2026 21:13:24 +0000 Subject: [PATCH] Remove stored thickness field from Hyperplane4D The thickness parameter is still passed to the constructor and used during geometry generation, but the value is no longer stored in the struct since it's never read after construction. This eliminates the dead_code warning while preserving functionality. Co-Authored-By: Claude Opus 4.5 --- crates/rust4d_math/src/hyperplane.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/crates/rust4d_math/src/hyperplane.rs b/crates/rust4d_math/src/hyperplane.rs index 3347603..afb5e28 100644 --- a/crates/rust4d_math/src/hyperplane.rs +++ b/crates/rust4d_math/src/hyperplane.rs @@ -29,8 +29,6 @@ pub struct Hyperplane4D { grid_size: usize, /// Half-extent in W dimension w_extent: f32, - /// Y thickness (bottom at y=0, top at y=thickness) - thickness: f32, /// All vertices vertices: Vec, /// Tetrahedra decomposition @@ -105,7 +103,6 @@ impl Hyperplane4D { half_size: size, grid_size, w_extent, - thickness, vertices, tetrahedra, } -- knotmirror 0.0.1