mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-04 09:58:27 +00:00
Remove redundant struct field
This commit is contained in:
parent
7079b28538
commit
9d2e1d8831
@ -34,7 +34,7 @@ impl CurveGeom {
|
||||
surface: Handle<Surface>,
|
||||
) -> Self {
|
||||
let mut definitions = BTreeMap::new();
|
||||
definitions.insert(surface.clone(), LocalCurveGeom { path, surface });
|
||||
definitions.insert(surface.clone(), LocalCurveGeom { path });
|
||||
|
||||
Self { definitions }
|
||||
}
|
||||
@ -45,7 +45,4 @@ impl CurveGeom {
|
||||
pub struct LocalCurveGeom {
|
||||
/// The path that defines the curve on its surface
|
||||
pub path: SurfacePath,
|
||||
|
||||
/// The surface that the curve is defined on
|
||||
pub surface: Handle<Surface>,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user