mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-03 17:38:27 +00:00
Simplify
This commit is contained in:
parent
5c945f5b45
commit
bed5d5c70d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user