Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Aug 22, 2024
1 parent 5c945f5 commit bed5d5c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/fj-core/src/geometry/surface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bed5d5c

Please sign in to comment.