From 984ee93df9f4391be14b7d92c64ccf1988b55782 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 22 Aug 2024 21:04:33 +0200 Subject: [PATCH] Simplify variable name --- crates/fj-core/src/geometry/surface.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/fj-core/src/geometry/surface.rs b/crates/fj-core/src/geometry/surface.rs index 5f16b2ea3..b7e9d9a59 100644 --- a/crates/fj-core/src/geometry/surface.rs +++ b/crates/fj-core/src/geometry/surface.rs @@ -89,11 +89,11 @@ impl SurfaceGeom { // We don't need to approximate a line. So instead of creating a // line segment to represent the line at this point, we just // need this single point. - let point_global = line.origin() + let point = line.origin() + line.direction() * point_surface.u + self.v * point_surface.v; - Triangle::from([point_global; 3]) + Triangle::from([point; 3]) } };