This commit is contained in:
Hanno Braun 2024-08-22 20:42:46 +02:00
parent 5c945f5b45
commit bed5d5c70d

View File

@ -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