From bed5d5c70d53abb2405eb229c612a02cd2cac39a Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 22 Aug 2024 20:42:46 +0200 Subject: [PATCH] Simplify --- crates/fj-core/src/geometry/surface.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/fj-core/src/geometry/surface.rs b/crates/fj-core/src/geometry/surface.rs index 61656d55a..b6ea62f63 100644 --- a/crates/fj-core/src/geometry/surface.rs +++ b/crates/fj-core/src/geometry/surface.rs @@ -19,8 +19,7 @@ pub struct SurfaceGeom { impl SurfaceGeom { /// # Access the origin of the surface pub fn origin(&self) -> Point<3> { - let Self { u, .. } = self; - u.origin() + self.u.origin() } /// # Return the triangle at the provided point on the surface