mirror of
https://github.com/hannobraun/Fornjot
synced 2025-09-12 04:08:15 +00:00
Simplify
This commit is contained in:
parent
5c945f5b45
commit
bed5d5c70d
@ -19,8 +19,7 @@ pub struct SurfaceGeom {
|
|||||||
impl SurfaceGeom {
|
impl SurfaceGeom {
|
||||||
/// # Access the origin of the surface
|
/// # Access the origin of the surface
|
||||||
pub fn origin(&self) -> Point<3> {
|
pub fn origin(&self) -> Point<3> {
|
||||||
let Self { u, .. } = self;
|
self.u.origin()
|
||||||
u.origin()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// # Return the triangle at the provided point on the surface
|
/// # Return the triangle at the provided point on the surface
|
||||||
|
Loading…
x
Reference in New Issue
Block a user